[zenoss-users] Re: setting eventClassKey for a syslog event

grants grants at al.com.au
Thu Jan 3 17:34:07 EST 2008


A quick piece of advice from some people with more python experience.


Code:
# Fortigate syslog
r".* log_id=(?P<eventClassKey>\S+) .* msg=\"(?P<summary>.*)\"", 



This seems to work allright but I noticed that it sometime does not match correctly. What I want is for the event details to list the message as the complete syslog line and the summary to only contain the error description part of the syslog line.

Is there a way of doing that ?




-------------------- m2f --------------------

Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=14911#14911

-------------------- m2f --------------------





More information about the zenoss-users mailing list