fix host for input_redis

This commit is contained in:
m0duspwnens
2021-12-14 18:51:43 -05:00
parent 55b74abcc5
commit 15b8d80b71

View File

@@ -3,10 +3,10 @@
{%- from 'logstash/map.jinja' import EXTRA_HOSTS with context %} {%- from 'logstash/map.jinja' import EXTRA_HOSTS with context %}
{%- for host in EXTRA_HOSTS.keys %} {%- for host_ip in EXTRA_HOSTS %}
input { input {
redis { redis {
host => '{{ host }}' host => '{{ host_ip.split(':')[0] }}'
port => 9696 port => 9696
ssl => true ssl => true
data_type => 'list' data_type => 'list'