Step 3.1.6. Modify the Alarm Viewer Setup Custom Attributes
You can filter alarms based on Custom Attributes using substrings, wildcards, regular expressions, Any in set or All in set.
In the Attribute fields, you can enter the attribute values that you want to filter. Then you can use the filter formats to filter the alarms that belong to the entered attribute values. For example, if you have configured alarms corresponding to an area called Area7, you can enter Area7 as an attribute value in the appropriate Attribute field, for example, Attribute 1, and use the Substring filter format. Then, when this alarm setup is applied, it will only show alarms that have Area 7 set for Attribute 1.
String Filter Formats
Item | Description |
---|---|
Substring | Enter a substring based on which the alarm filter will be applied. Example If you wish to display all alarms that belong to Area7, in the Attribute box, select the Substring option, and enter Area7. All the alarms that belong to Area7 will be displayed. |
Wildcard | Enter a string containing a wildcard character based on which the alarm filter will be applied. Example If you wish to display all alarms that belong to the attribute Area as the first four characters, in the Attribute box, select the Wildcard option, and enter Area*. All alarms that belong to the attribute Area as the first four characters will be displayed. |
Regex | Enter a string containing a regular expression based on which the alarm filter will be applied. The regular expression grammar supported is ECMAScript. Example If you wish to display all alarms that belong to Area1, Area2, and Area3, in the Attribute box, select the Regex option, and enter Area[1-3]. All alarms that belong to the attributes Area1, Area2, and Area33 will be displayed. |
Any in Set |
Enter a comma separated set of attributes based on which the alarm filter can be applied to any in the set. Example
Using Any in Set as your filter type would show both point1 and point2 alarms but not point3 alarms since its attribute values are not in the set. |
All in Set |
Enter a string containing a string based on which the alarm filter will be applied. Example
Using All in Set as your filter type would show only point1 alarms but not point2 or point3 alarms since their attributes don’t match all of the attributes in the set. |