mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-24 01:43:11 +01:00
17 lines
430 B
Django/Jinja
17 lines
430 B
Django/Jinja
{%- if grains.role == 'so-heavynode' %}
|
|
{%- set MANAGER = salt['pillar.get']('elasticsearch:mainip', '') %}
|
|
{%- else %}
|
|
{%- set MANAGER = salt['pillar.get']('static:managerip', '') %}
|
|
{% endif -%}
|
|
{%- set THREADS = salt['pillar.get']('logstash_settings:ls_input_threads', '') %}
|
|
|
|
input {
|
|
redis {
|
|
host => '{{ MANAGER }}'
|
|
data_type => 'list'
|
|
key => 'logstash:unparsed'
|
|
type => 'redis-input'
|
|
threads => {{ THREADS }}
|
|
}
|
|
}
|