mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
Fix logscan pipeline on eval
* Rename logscan pipeline to logscan.alert * Add module to indices array in filebeat.yml
This commit is contained in:
@@ -307,6 +307,9 @@ output.elasticsearch:
|
|||||||
- index: "so-strelka"
|
- index: "so-strelka"
|
||||||
when.contains:
|
when.contains:
|
||||||
module: "strelka"
|
module: "strelka"
|
||||||
|
- index: "so-logscan"
|
||||||
|
when.contains:
|
||||||
|
module: "logscan"
|
||||||
|
|
||||||
setup.template.enabled: false
|
setup.template.enabled: false
|
||||||
{%- else %}
|
{%- else %}
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ output {
|
|||||||
if [module] =~ "logscan" {
|
if [module] =~ "logscan" {
|
||||||
elasticsearch {
|
elasticsearch {
|
||||||
id => "logscan_pipeline"
|
id => "logscan_pipeline"
|
||||||
pipeline => "logscan"
|
pipeline => "logscan.alert"
|
||||||
hosts => "{{ ES }}"
|
hosts => "{{ ES }}"
|
||||||
{% if salt['pillar.get']('elasticsearch:auth:enabled') is sameas true %}
|
{% if salt['pillar.get']('elasticsearch:auth:enabled') is sameas true %}
|
||||||
user => "{{ ES_USER }}"
|
user => "{{ ES_USER }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user