Quantcast
Channel: THWACK: All Content - Server & Application Monitor
Viewing all articles
Browse latest Browse all 12281

PowerShell Log Monitor

$
0
0

I would like to know the syntax needed to parse a log file to look for the word error, but exclude any lines that have certain words in the error line. Example:

 

Error | payamentgateway

 

I am using the following RegEx in the component to match for errors:

C:\remote-static.log,^Error,total,0


Viewing all articles
Browse latest Browse all 12281

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>