mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
Logstash Module- Fix Redis output logic
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
{%- if salt['grains.get']('role') == 'so-master' %}
|
||||
{%- set nodetype = 'master' %}
|
||||
{%- else %}
|
||||
{%- set nodetype = salt['pillar_get']('node:node_type', 'storage') %}
|
||||
output {
|
||||
redis {
|
||||
@@ -13,3 +16,4 @@ output {
|
||||
# batch_events => 500
|
||||
}
|
||||
}
|
||||
{%- endif %}
|
||||
Reference in New Issue
Block a user