Systems Management (OpenView-OP Mgmt) Practitioners Forum
Showing results for 
Search instead for 
Do you mean 

Pattern Matching Assistance using xml as log file in OMW 8.10

Highlighted
Occasional Advisor

Pattern Matching Assistance using xml as log file in OMW 8.10

I am trying to match data from a xml file

 

How would I match  a specific pattern in a Logfile Entry Policy?

 

From the below I want to match on CD %ORBITAIOUT%EDIOUT and ConnectException: Connection timed out (errno:238)

 

Upon matching both criteria I want to send a critical event

 

<Event>

<Result text="Exception" command="CD %ORBITAIOUT%EDIOUT" line="5">java.net.ConnectException: Connection timed out (errno:238)</Result>

 

2 REPLIES
Occasional Advisor

Re: Pattern Matching Assistance using xml as log file in OMW 8.10

I hope it's not complicated:

 

did you try below rule?

 

<*>CD %ORBITAIOUT%EDIOUT<*>ConnectException: Connection timed out (errno:238)<*>

 

This should match required string.

 

--

Bhavik

Trusted Contributor

Re: Pattern Matching Assistance using xml as log file in OMW 8.10

Hi Brian,

Can you provide your logfile?

Regards,
hp4u