Drop Events with Transforms

From Zenoss Wiki
This is the approved revision of this page, as well as being the most recent.
Jump to: navigation, search

Searching a Summary

This one is pretty simple to modify to your needs:

 import re
 regex = re.compile('Text to match which will then be dropped')
 if re.match(regex, evt.summary):
     evt._action = "drop"