mirror of https://github.com/infosecn1nja/HELK.git
Update logstash.conf
parent
b7b72191ca
commit
5065558474
|
@ -9,11 +9,11 @@ input {
|
||||||
output {
|
output {
|
||||||
if [@metadata][source] == "winlogbeat" {
|
if [@metadata][source] == "winlogbeat" {
|
||||||
elasticsearch {
|
elasticsearch {
|
||||||
hosts => ["localhost:9200"]
|
hosts => "elasticsearch:9200"
|
||||||
sniffing => true
|
sniffing => true
|
||||||
manage_template => false
|
manage_template => false
|
||||||
index => "%{[@metadata][beat]}-%{+YYYY.MM.dd}"
|
index => "%{[@metadata][beat]}-%{+YYYY.MM.dd}"
|
||||||
document_type => "%{[@metadata][type]}"
|
document_type => "%{[@metadata][type]}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue