mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-08 18:22:47 +01:00
add redis and logstash input plugins to telegraf
This commit is contained in:
@@ -639,6 +639,21 @@
|
|||||||
insecure_skip_verify = true
|
insecure_skip_verify = true
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
{% if grains.role in ['so-node','so-standalone','so-manager', 'so-managersearch', 'so-heavynode'] -%}
|
||||||
|
[[inputs.logstash]]
|
||||||
|
url = "http://localhost:9600"
|
||||||
|
collect = ["pipelines"]
|
||||||
|
{% if salt['pillar.get']('elasticsearch:auth:enabled') is sameas true %}
|
||||||
|
username = "{{ salt['pillar.get']('elasticsearch:auth:so_logstash_user:user') }}"
|
||||||
|
password = "{{ salt['pillar.get']('elasticsearch:auth:so_logstash_user:pass') }}"
|
||||||
|
{% endif %}
|
||||||
|
{%- endif %}
|
||||||
|
|
||||||
|
{% if grains.role in ['so-eval','so-standalone','so-manager', 'so-managersearch', 'so-heavynode'] -%}
|
||||||
|
[[inputs.redis]]
|
||||||
|
servers = "tcp://localhost:5000"
|
||||||
|
{%- endif %}
|
||||||
|
|
||||||
#
|
#
|
||||||
# ## Timeout for HTTP requests to the elastic search server(s)
|
# ## Timeout for HTTP requests to the elastic search server(s)
|
||||||
# http_timeout = "5s"
|
# http_timeout = "5s"
|
||||||
|
|||||||
Reference in New Issue
Block a user