Merge pull request #5209 from Security-Onion-Solutions/issue/5195

fix error in telegraf log
This commit is contained in:
Josh Patterson
2021-08-19 13:27:08 -04:00
committed by GitHub

View File

@@ -1,6 +1,6 @@
{ {
"manint": "{{ salt['pillar.get']('host:mainint', '') }}",
{%- if grains.role in ['so-standalone', 'so-eval', 'so-sensor', 'so-heavynode', ] %} {%- if grains.role in ['so-standalone', 'so-eval', 'so-sensor', 'so-heavynode', ] %}
"monint": "{{ salt['pillar.get']('sensor:interface', '') }}" "monint": "{{ salt['pillar.get']('sensor:interface', '') }}",
{% endif -%} {%- endif %}
"manint": "{{ salt['pillar.get']('host:mainint', '') }}"
} }