Grok filter for custom logs

Hello All,
I have used grok filter to structured my logs.But I am not able to get an output as expected.Can anyone please help me to filter this logs?
Thank you so much in advance....
My logs input is as following

brk_id:1|brk_val:ABC
brk_id:100|brk_val:QAZ
brk_id:100|brk_val:QAZ
brk_id:101|brk_val:water

My grok pattern is
%{NUMBER:brk_id}|%{WORD:brk_val}

My grok filter output is
{
"brk_id": [
[
"1"
]
],
"BASE10NUM": [
[
"1"
]
],
"brk_val": [
[
"brk_val"
]
]
}

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.