mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-19 07:23:06 +01:00
Logstash Module - Saltify some inputs
This commit is contained in:
@@ -1,8 +1,13 @@
|
||||
{%- set nodetype = salt['pillar_get']('node:node_type', 'storage') %}
|
||||
output {
|
||||
redis {
|
||||
host => 'so-redis'
|
||||
data_type => 'list'
|
||||
key => 'logstash:redis'
|
||||
{%- if nodetype == 'parser' %}
|
||||
key => 'logstash:parsed'
|
||||
{%- else %}
|
||||
key => 'logstash:unparsed'
|
||||
{%- endif %)
|
||||
congestion_interval => 1
|
||||
congestion_threshold => 50000000
|
||||
# batch_events => 500
|
||||
|
||||
Reference in New Issue
Block a user