aurore-logs/roles/logstash/templates/main.conf.j2

19 lines
No EOL
369 B
Django/Jinja

{{ ansible_managed | comment }}
input {
redis {
path => "{{ logstash_redis_path }}"
password => "{{ logstash_redis_password }}"
data_type => "channel"
key => "{{ logstash_redis_key }}"
codec => "json"
}
}
output {
elasticsearch {
hosts => ["{{ logstash_es_host }}"]
user => "{{ logstash_es_username }}"
password => "{{ logstash_es_password }}"
}
}