Hi kumina
If msgid and sc are not constant , use the max_match option and mvindex command to solve your problem
Try this search code
index=rx_connect "USER: BROADCAST"|rex field=_raw max_match=0 "\|\s\w+\:\s(?P<msgid1>[^\|]+)\s"|eval msgid=mvindex(msgid1,7)
|rex field=_raw "\[(?P<sc>[^\|]+)\]"|rex field=_raw "\|\s(?P<field1>[\w]+)\:\sCINTERFACE"|rex field=_raw "\|(?P<field2>[\w]+)\:\s\[Profile]"|eval someNewField = field1."-".field2." (".msgid."-".sc.")"
|table msgid sc field1 field2 someNewField
see result
... View more