Update logstash.conf

keyword-vs-text-changes
Roberto Rodriguez 2017-06-07 00:25:47 -04:00 committed by GitHub
parent b7b72191ca
commit 5065558474
1 changed files with 2 additions and 2 deletions

View File

@ -9,11 +9,11 @@ input {
output {
if [@metadata][source] == "winlogbeat" {
elasticsearch {
hosts => ["localhost:9200"]
hosts => "elasticsearch:9200"
sniffing => true
manage_template => false
index => "%{[@metadata][beat]}-%{+YYYY.MM.dd}"
document_type => "%{[@metadata][type]}"
}
}
}
}