mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
Common Module - Fix Telegraf ES input for nodes
This commit is contained in:
@@ -574,7 +574,7 @@
|
||||
# # servers = ["http://user:pass@localhost:9200"]
|
||||
servers = ["http://{{ MASTER }}:9200"]
|
||||
{% endif %}
|
||||
{% if grains['role'] == 'so-node'}
|
||||
{% if grains['role'] == 'so-node' %}
|
||||
[[inputs.elasticsearch]]
|
||||
servers = ["http://{{ NODEIP }}:9200"]
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user