Update telegraf.conf

This commit is contained in:
Mike Reeves
2021-07-02 09:47:31 -04:00
committed by GitHub
parent af7d6c8cb5
commit 22aa695508

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 %}