
The sniffing and template generation process will be enabled or disabled when run along side data/ingest nodes. This will cut down on network IO as the logstash output will use localhost to communicate to elasticsearch whenever possible. Change-Id: Ic289a2b8005cc76570420d74a2b46e2f1eccafbd Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
9 lines
310 B
Django/Jinja
9 lines
310 B
Django/Jinja
output {
|
|
elasticsearch {
|
|
hosts => {{ elasticsearch_data_hosts | shuffle(seed=inventory_hostname) | to_json }}
|
|
sniffing => {{ (not data_node | bool) | lower }}
|
|
manage_template => {{ (not data_node | bool) | lower }}
|
|
index => "%{[@metadata][beat]}-%{[@metadata][version]}-%{+YYYY.MM.dd}"
|
|
}
|
|
}
|