From 15b8d80b7130df45d722287ffc898f88448deeee Mon Sep 17 00:00:00 2001 From: m0duspwnens Date: Tue, 14 Dec 2021 18:51:43 -0500 Subject: [PATCH] fix host for input_redis --- salt/logstash/pipelines/config/so/0900_input_redis.conf.jinja | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/salt/logstash/pipelines/config/so/0900_input_redis.conf.jinja b/salt/logstash/pipelines/config/so/0900_input_redis.conf.jinja index 995c2ce5e..fa43ff5a4 100644 --- a/salt/logstash/pipelines/config/so/0900_input_redis.conf.jinja +++ b/salt/logstash/pipelines/config/so/0900_input_redis.conf.jinja @@ -3,10 +3,10 @@ {%- from 'logstash/map.jinja' import EXTRA_HOSTS with context %} -{%- for host in EXTRA_HOSTS.keys %} +{%- for host_ip in EXTRA_HOSTS %} input { redis { - host => '{{ host }}' + host => '{{ host_ip.split(':')[0] }}' port => 9696 ssl => true data_type => 'list'