mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
fix host for input_redis
This commit is contained in:
@@ -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'
|
||||||
|
|||||||
Reference in New Issue
Block a user