AnsweredAssumed Answered

Logmon probe (problem with variables)

Question asked by 1_Javier on Feb 8, 2013
Latest reply on Feb 8, 2013 by 1_Javier

Hi,

 

I have this log:

 

290113-10:57:39,097 [rec_qpFBTCBV_loop0] <ReceiverClient> INFO Receiver BTCBV_Receiver getting text message from QP waiting at most 13000ms.
290113-10:57:39,097 [rec_qpFLGBSSNSLV_loop0] <ReceiverClient> INFO Receiver LGBSSNSLV_Receiver getting text message from QP waiting at most 13000ms.

......

 

And i want to extract the value of time in miliseconds from one of them. I use in match expression:

 

/^\d+\s\d+\s\d+\s\d+\s\d+\s\d+\s\d+\s\d+\s\d+\s\d+\s\d+\s\d+\s\d+\s\d+\s(\d+)$/

 

And for "Message to send on match", i use: Waiting $var. In the Variables tab, i have define a variable with the name 'var', source from position: 'match on expression', source to position: 'Ignore to'.

 

So when i restart the logmon probe, the alarm is there but the message is: msg='Waiting $var'. And i don't have the number instead of the dollar symbol and the name of the variable...

 

Any thoughts??

 

Best Regards and thanks.

 

Alberto

Outcomes