{{ 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 }}" } }