Quantcast
Channel: THWACK: Message List
Viewing all articles
Browse latest Browse all 20396

Parsing log file in a linux box using RegEx

$
0
0

Hello all,


I want to parse a log file in a linux server, in order to evaluate a regular expression, to see, if it detects a certain string of characters, and if it does, trigger an alarm. It is working fine for WIndows Boxes, but when I try to do the same for a linux system, it gives me an error message. Is there an easier option to achieve log parsing on a linux server, as it is to do it with a Windows Box? I found this article, but wanted to be sure, this is the only way to do it.


ipMonitor :: Monitor a Specific Condition on a UNIX-Based System Using a Custom Script and SSH


cheers,


Edgar


LogParsing1.JPGLogParsing2.JPG

 


Viewing all articles
Browse latest Browse all 20396

Trending Articles



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