mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +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') %}
|
{%- set nodetype = salt['pillar_get']('node:node_type', 'storage') %}
|
||||||
output {
|
output {
|
||||||
redis {
|
redis {
|
||||||
@@ -13,3 +16,4 @@ output {
|
|||||||
# batch_events => 500
|
# batch_events => 500
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
{%- endif %}
|
||||||
Reference in New Issue
Block a user