Our vBulletin migration is complete.
Welcome vBulletin users! All content and user information from the Micro Focus Forums (vBulletin) site has been migrated to this site. READ MORE.
Absent Member.. ash321 Absent Member..
Absent Member..
52 views

Log file Monitor

Need help on creating regex in log file monitor

 

Text file looks like below

 

[12345678] SERVICE ALERT: Connectivity - LAN;WARNING;SOFT;1;WARNING - 10.1.1.1: rta 4.901ms, lost 20%

[12345678] SERVICE ALERT: Connectivity - LAN;WARNING;SOFT;1;Normal - 10.1.1.1

[12345678] SERVICE ALERT: Connectivity - LAN;CRITICAL;SOFT;1;CRITICAL - 10.1.1.1,lost 100%

 

Need to do content match either on WRNING and ERROR. Then capture the enitre line as a vaiable and send email alert.

 

Thanks

 

 

 

 

0 Likes
1 Reply
Established Member.. kenneth.gonzale
Established Member..

Re: Log file Monitor

Here:

/.*(WARNING|ERROR).*/

Then send the whole match between slashes using tag <value> in alert template
Kenneth Gonzalez
HP Support

If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.

If you haven’t tried it yet, come and join us in our entitled forums at Support Customer Forums
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.