elastic changes

This commit is contained in:
Wes Lambert
2020-03-17 21:29:28 +00:00
parent c3055b0a03
commit 70f109af86
3 changed files with 7 additions and 7 deletions

View File

@@ -4,7 +4,7 @@
server.name: kibana
server.host: "0"
server.basePath: /kibana
elasticsearch.url: http://{{ ES }}:9200
elasticsearch.hosts: [ "http://{{ ES }}:9200" ]
#kibana.index: ".kibana"
#elasticsearch.username: elastic
#elasticsearch.password: changeme

View File

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

View File

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