Hi , I want to extract this line from an event.
RAISE-ALARM:acProxyConnectionLost: [KOREASBC1] Proxy Set Alarm Proxy Set 1 (PS_ITSP): Proxy lost. looking for another proxy;
Hi @Siddharthnegi ,
could you share some sample of your full message, highlighting in bold the part to extract?
Ciao.
Giuseppe
I want to extract whole line till proxy
RAISE-ALARM:acProxyConnectionLost: [KOREASBC1] Proxy Set Alarm Proxy Set 1 (PS_ITSP): Proxy lost. looking for another proxy;
Try something like this
| rex "^(?<line>.*proxy)"
what if I want to remove RAISE-ALARM from staring
| rex "^RAISE-ALARM(?<line>.*proxy)"