Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (20 sloc) 300 Bytes
input {
file {
path => ["/data/*.log"]
start_position => ["beginning"]
}
}
filter {
grok {
match => {
"message" => '%{COMBINEDAPACHELOG}'
}
}
}
output {
stdout { codec => rubydebug }
elasticsearch {
hosts => ["elasticsearch:9200"]
index => "my-index"
}
}
You can’t perform that action at this time.