I have raw data which looks something like this :
[6/24/22 6:45:20:277 IST] 000005d4 Output O abcd-ddd-dd.ppp1.ttttttt.net sys 2022-06-24T06:45:20,277 WARN [Server.BatchProcess] Limoc Input : Exception occurred: 100 COMPRESS 'success' EEEE08EE.ERROR-TEXT(1) null
[6/24/22 6:45:20:277 IST] 000005d4 Output O abcd-ddd-dd.ppp1.ttttttt.net sys 2022-06-24T06:45:20,277 WARN [Server.BatchProcess] Limoc Input : Exception occurred: 101 COMPRESS 'success' EEEE08EE.ERROR-TEXT(2) null
I need help with the rex command which can filter all the messages with "Limoc Input : Exception occurred: 100
" "Limoc Input : Exception occurred: 101
" and similar ones like this and take a count of them and also print the message following it "COMPRESS 'success' EEEE08EE.ERROR-TEXT(1) null
". For example:
100 COMPRESS 'success' EEEE08EE.ERROR-TEXT(1) null 2
101 COMPRESS 'success' EEEE08EE.ERROR-TEXT(2) null 3