I'm having a problem trying to write a transform. What I want to know is what would be the "contain" operator.
This is what I have: Code: if evt.summary == 'snmp trap 1.3.6.1.4.1.3224.0.500' or evt.summary "contains" 'last message repeated' and evt.severity != 0: evt.severity = 0 you'll see I've put "contains" in the query above, so I wanted the correct item. I did try =~ which is the usual regex for a contains query but it doesn't work since the whole transform turns red showing an error. I'm just trying to remove the logs that show "last message repeated 14 times" or however many time they are noted. -------------------- m2f -------------------- Read this topic online here: http://forums.zenoss.com/viewtopic.php?p=37137#37137 -------------------- m2f -------------------- _______________________________________________ zenoss-users mailing list [email protected] http://lists.zenoss.org/mailman/listinfo/zenoss-users
