I am very new to Logstash and ELK in general. I need to write a grok pattern for a log file in the following format :
[191114|16:51:13.577|BPDM|MDS|2|209|ERROR|39999]Interrupted by a signal!!!
I tried to write a grok pattern by referring grok-patterns and by trying out my implementation in grok-debugger, but it didn't work.
grok {
match => { "message" => "%{NONNEGINT:fixed}|%{HOSTNAME:host}|%{WORD:word1}|%{WORD:word2}|%{NONNEGINT:num1}|%{NONNEGINT:num2}|%{ERROR|INFO|EVENT}|%{NONNEGINT:num1}|%{GREEDYDATA:message}" }
}