mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-08 02:02:50 +01:00
old attempt
This commit is contained in:
@@ -199,20 +199,6 @@
|
|||||||
username = "{{ ES_USER }}"
|
username = "{{ ES_USER }}"
|
||||||
password = "{{ ES_PASS }}"
|
password = "{{ ES_PASS }}"
|
||||||
insecure_skip_verify = true
|
insecure_skip_verify = true
|
||||||
# Every hour collect current size of all indices
|
|
||||||
[[ inputs.elasticsearch ]]
|
|
||||||
servers = ["https://{{ NODEIP }}:9200"]
|
|
||||||
username = "{{ ES_USER }}"
|
|
||||||
password = "{{ ES_PASS }}"
|
|
||||||
insecure_skip_verify = true
|
|
||||||
|
|
||||||
indices_level = "indices"
|
|
||||||
indices_include = ["_all"]
|
|
||||||
# Drop everything except specific field
|
|
||||||
fieldinclude = ["store_size_in_bytes"]
|
|
||||||
|
|
||||||
interval = "1m"
|
|
||||||
|
|
||||||
{%- elif grains['role'] in ['so-searchnode'] %}
|
{%- elif grains['role'] in ['so-searchnode'] %}
|
||||||
[[inputs.elasticsearch]]
|
[[inputs.elasticsearch]]
|
||||||
servers = ["https://{{ NODEIP }}:9200"]
|
servers = ["https://{{ NODEIP }}:9200"]
|
||||||
|
|||||||
Reference in New Issue
Block a user