I have the following log :
2017-04-03 07:53:49,576 DEBUG [TESTING_DETAILS] -
###ERROR DETAILS ###
TestingError
CD Number: 12525
ID Testing: 20 NK 6969N5L
Message :Testing Failed TZE [L00141D]
URL Path: /TestingURL
How can I use the kv plugin to get the fields (cd number, id testing, Message and Url path) ?
I tried the following grok :
grok
{
match => {"message"=> "%{TIMESTAMP_ISO8601:Data} %{DATA:ErrorBasicMessage}\n%{DATA:ErrorInfoSection}\n%{NOTSPACE:ErrorName}\n%{DATA:ErrorInfo}"}
}
mutate {
gsub => ["Data", " ", "T"]
}
kv {
source => "ErrorInfo"
value_split => ":"
field_split => "\n"
}