Hi all, Need your help with grok: How do I code for the following line?
6a 00001020 m 20420 ltel2drv 18/03/14 13:12:17.422057 CC0: DlschInfo: UE=16, SFNSF=7616, cell=PCC, msgType,nRB=000004, HID=0, HARQ_12=10, nRTX_12=00, MCS_12=0600, TBS_12=00490000, padBytes_12=00000000, Q=0
I am able to code till CC0: and after that I am able to take in as greedydata:
match => ["message", "%{WORD:msgtype}%{SPACE}%{WORD:code1}%{SPACE}%{WORD:module}%{SPACE}%{WORD:code2}%{SPACE}%{WORD:type1}%{SPACE}%{DATESTAMP:timestamp}%{SPACE}\(%{WORD:method}\:%{SPACE}%{NUMBER:code3}\)%{SPACE}%{GREEDYDATA:msg}"]
But after CC0, I need it to be separate fields and not greedydata.
Can someone help me on this?
Thanks!