mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
fix the container watch for logstash container state
This commit is contained in:
@@ -37,6 +37,7 @@
|
|||||||
|
|
||||||
{% set PIPELINES = salt['pillar.get']('logstash:pipelines', {}) %}
|
{% set PIPELINES = salt['pillar.get']('logstash:pipelines', {}) %}
|
||||||
{% set DOCKER_OPTIONS = salt['pillar.get']('logstash:docker_options', {}) %}
|
{% set DOCKER_OPTIONS = salt['pillar.get']('logstash:docker_options', {}) %}
|
||||||
|
{% set TEMPLATES = salt['pillar.get']('elasticsearch:templates', {}) %}
|
||||||
|
|
||||||
include:
|
include:
|
||||||
- elasticsearch
|
- elasticsearch
|
||||||
@@ -181,4 +182,6 @@ so-logstash:
|
|||||||
- file: ls_pipeline_{{PL}}_{{CONFIGFILE.split('.')[0] | replace("/","_") }}
|
- file: ls_pipeline_{{PL}}_{{CONFIGFILE.split('.')[0] | replace("/","_") }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
- file: /opt/so/conf/elasticsearch/templates/*
|
{% for TEMPLATE in TEMPLATES %}
|
||||||
|
- file: es_template_{{TEMPLATE.split('.')[0] | replace("/","_") }}
|
||||||
|
{% endfor %}
|
||||||
Reference in New Issue
Block a user