Hi
I have a difficult log for me.
Because sometimes I have nested bracket and sometimes i don't
How to parse it in a grok.
[2022-09-05 17:27:24,537] [apps-thread | test-policy] WARN
[2022-09-06 14:19:25,708] [App (app-1) thread #1 - AppsConsumer[apps-notify]] INFO
grok {
match => [ "message", "\[%{TIMESTAMP_ISO8601:timestamp}\] \[HOW TO HANDLE THIS:thread\] %{LOGLEVEL:log_level}" ]
tag_on_failure => ["failed-to-parse"]
}
Please help