mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
Merge pull request #6167 from Security-Onion-Solutions/ecs_pipeline_common
Add config for dynamically formatted ingest pipelines
This commit is contained in:
@@ -1,3 +1,5 @@
|
|||||||
|
{%- set HIGHLANDER = salt['pillar.get']('global:highlander', False) -%}
|
||||||
|
{%- raw -%}
|
||||||
{
|
{
|
||||||
"description" : "common",
|
"description" : "common",
|
||||||
"processors" : [
|
"processors" : [
|
||||||
@@ -65,5 +67,16 @@
|
|||||||
"index_name_format": "yyyy.MM.dd"
|
"index_name_format": "yyyy.MM.dd"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
{%- endraw %}
|
||||||
|
{%- if HIGHLANDER %}
|
||||||
|
,
|
||||||
|
{
|
||||||
|
"pipeline": {
|
||||||
|
"name": "ecs"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
{%- endif %}
|
||||||
|
{%- raw %}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
{% endraw %}
|
||||||
@@ -131,6 +131,14 @@ esrolesdir:
|
|||||||
- group: 939
|
- group: 939
|
||||||
- makedirs: True
|
- makedirs: True
|
||||||
|
|
||||||
|
esingestdynamicconf:
|
||||||
|
file.recurse:
|
||||||
|
- name: /opt/so/conf/elasticsearch/ingest
|
||||||
|
- source: salt://elasticsearch/files/ingest-dynamic
|
||||||
|
- user: 930
|
||||||
|
- group: 939
|
||||||
|
- template: jinja
|
||||||
|
|
||||||
esingestconf:
|
esingestconf:
|
||||||
file.recurse:
|
file.recurse:
|
||||||
- name: /opt/so/conf/elasticsearch/ingest
|
- name: /opt/so/conf/elasticsearch/ingest
|
||||||
|
|||||||
Reference in New Issue
Block a user