fix index names

This commit is contained in:
Wes Lambert
2020-03-18 16:42:06 +00:00
parent 85cc1e9e17
commit fcc5c306ea
2 changed files with 2 additions and 2 deletions

View File

@@ -21,7 +21,7 @@ output {
elasticsearch {
pipeline => "%{event_type}"
hosts => "{{ ES }}"
index => "so-common-%{+YYYY.MM.dd}"
index => "so-ossec-%{+YYYY.MM.dd}"
template_name => "so-common"
template => "/so-common-template.json"
template_overwrite => true

View File

@@ -20,7 +20,7 @@ output {
if [event_type] =~ "strelka" {
elasticsearch {
hosts => "{{ ES }}"
index => "so-common-%{+YYYY.MM.dd}"
index => "so-strelka-%{+YYYY.MM.dd}"
template_name => "so-common"
template => "/so-common-template.json"
template_overwrite => true