Quantcast
Channel: Zenoss Community: Message List
Viewing all articles
Browse latest Browse all 783

Re: How to classify syslog events

$
0
0

After more reading I'm now under the understanding that I need a line in the SyslogProcessing.py script that matches the syntax of how my messages come across from the MikroTik.  Are there any guides out there on how to do this without learning python from scratch?

 

An example line for a Cisco device is:

 

r"%(?P<eventClassKey>(?P<component>\S+)-\d-\S+): *(?P<summary>.*)",


So I need to figure out how to modify that to make it work for my messages that come across like:

 

subsystem,level message

 

where subsystem in my example = firewall

where level in my example = info

where message in my example describes the traffic being blocked by the firewall

 

so the delimeters are comma (,) and the space ( )

 

which should be pretty straight forward for a python guru I would think


Viewing all articles
Browse latest Browse all 783

Trending Articles