Hello all,
I want to parse logs lines like this one :
2017-07-12T12:50:37.944779015Z [2017-07-12T12:50:37,944][INFO ][logstash.pipeline ] Pipeline main started
How can i do that ? with grok ? wich plug-in better match with my type of log ?
[ DETAIL OF THE LOGSTASH.CONF FILE ]*******************
input {
syslog {
port => "5000"
type => "docker"
}
}
filter {
grok {
match => { "message" => "%{COMBINEDAPACHELOG}" }
}
date {
match => [ "timestamp" , "dd/MMM/yyyy:HH:mm:ss Z" ]
}
}
output {
elasticsearch {
hosts => "elasticsearch:9200"
}
}