Fix logscan pipeline on eval

* Rename logscan pipeline to logscan.alert
* Add module to indices array in filebeat.yml
This commit is contained in:
William Wernert
2021-07-30 14:41:15 -04:00
parent b9980c9d30
commit 33bd6aed20
3 changed files with 4 additions and 1 deletions

View File

@@ -307,6 +307,9 @@ output.elasticsearch:
- index: "so-strelka"
when.contains:
module: "strelka"
- index: "so-logscan"
when.contains:
module: "logscan"
setup.template.enabled: false
{%- else %}

View File

@@ -10,7 +10,7 @@ output {
if [module] =~ "logscan" {
elasticsearch {
id => "logscan_pipeline"
pipeline => "logscan"
pipeline => "logscan.alert"
hosts => "{{ ES }}"
{% if salt['pillar.get']('elasticsearch:auth:enabled') is sameas true %}
user => "{{ ES_USER }}"