Please enable JavaScript to view this site.

Navigation: Additional Tips and Resources > Examples & Templates > Filter Examples

Example 4: Content Filter with Insertion String

Scroll Prev Top Next More

The purpose of this filter will be to trigger an action when the temperature reported by the EventSentry temperature sensor exceeds 80 degrees F. A typical event would look like this:

 

clip0574

 

Looking at the 10908 event with the event message browser reveals the following:

 

The temperature (%3 degrees %4) has fallen outside the configured range (%1%4 to %2%4).

 

Since insertion string #3 is being substituted with the temperature, we will create a content filter which looks at the third insertion string.

 

clip0575

 

Since the insertion string #3 is a number, we can take advantage of the numerical comparison, as shown above. The main filter dialog will then look similar to this:

 

clip0576