mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
have standalone and managersearch pull from redis nodes
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
{% set REDIS_NODES = [] %}
|
{% set REDIS_NODES = [] %}
|
||||||
{% set mainint = salt['pillar.get']('host:mainint') %}
|
{% set mainint = salt['pillar.get']('host:mainint') %}
|
||||||
{% set localhostip = salt['grains.get']('ip_interfaces').get(mainint)[0] %}
|
{% set localhostip = salt['grains.get']('ip_interfaces').get(mainint)[0] %}
|
||||||
{% if role in ['so-node'] %}
|
{% if role in ['so-node', 'so-standalone', 'so-managersearch'] %}
|
||||||
{% set node_data = salt['pillar.get']('logstash:nodes') %}
|
{% set node_data = salt['pillar.get']('logstash:nodes') %}
|
||||||
{% for node_type, node_details in node_data.items() | sort %}
|
{% for node_type, node_details in node_data.items() | sort %}
|
||||||
{% if node_type in ['manager', 'managersearch', 'standalone', 'receiver' ] %}
|
{% if node_type in ['manager', 'managersearch', 'standalone', 'receiver' ] %}
|
||||||
|
|||||||
Reference in New Issue
Block a user