Create an Alarm filter with operator OR in DX UIM Dashboard Designer
search cancel

Create an Alarm filter with operator OR in DX UIM Dashboard Designer

book

Article ID: 379678

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

Is it possible to create an alarm filter with the operator OR when creating an Alarm Datasource in the DX UIM Dashboard Designer?

I don't see any way to add an OR logic filter 

Environment

DX UIM 20.4.* / 23.4.* 

Cause

Guidance

Resolution

The Alarm Datasource/ alarm filters in the DX UIM Operator console Dashboard Designer does not have the ability to add an "OR" operator filter. 

However, the filters support the "matches" operator. The matches operator fully supports Regular Expression (Regex). 

 

•  For example, if you want the filter to show only alarms from either hostname1 OR hostname2 you can use the following filter: 

1. hostname marches hostname1|hostname2

 

•  More complex Regex is also supported. For example: you want the filer to display alarms from hostnames that contain the work "name1" OR "name2" AND the probe to be either "cdm" OR "logmon" 
You need to filters: 

1. hostname matches .*name1.*|.*name2.*

2. probe matches cdm|logmon

Additional Information