Merge pull request #4679 from Security-Onion-Solutions/TOoSmOotH-patch-1

Update telegraf.conf
This commit is contained in:
Mike Reeves
2021-07-02 09:48:33 -04:00
committed by GitHub

View File

@@ -630,8 +630,10 @@
{% elif grains['role'] in ['so-node', 'so-hotnode', 'so-warmnode', 'so-heavynode'] %}
[[inputs.elasticsearch]]
servers = ["https://{{ NODEIP }}:9200"]
{% if salt['pillar.get']('elasticsearch:auth:enabled') is sameas true %}
username = "{{ ES_USER }}"
password = "{{ ES_PASS }}"
{% endif %}
insecure_skip_verify = true
{% endif %}