Permalink
Switch branches/tags
Nothing to show
Find file Copy path
070e6cc May 17, 2016
1 contributor

Users who have contributed to this file

24 lines (21 sloc) 433 Bytes
input {
stdin{
codec => multiline {
pattern => "^\["
what => "previous"
negate => true
}
}
}
filter {
grok {
match => { "message" => "\[%{TIMESTAMP_ISO8601:timestamp}\] %{DATA:env}\.%{DATA:severity}: %{DATA:message}" }
}
}
output {
elasticsearch {
document_type => "logs"
hosts => ["127.0.0.1"]
index => "laravel_logs"
}
}