Test an event filter
cluster1::> event filter show Filter Name Rule Rule Message Name SNMP Trap Type Severity Position Type ----------- -------- --------- ---------------------- --------------- -------- default-trap-events 1 include * * EMERGENCY, ALERT 2 include * Standard, Built-in * 3 exclude * * * err-wafl-no-scan-but-clone 1 include wafl.scan.clone.* * * 2 exclude wafl.scan.* * * 3 include wafl.* * EMERGENCY, ALERT, ERROR 4 exclude * * * important-events 1 include * * EMERGENCY, ALERT 2 include callhome.* * ERROR 3 exclude * * * no-info-debug-events 1 include * * EMERGENCY, ALERT, ERROR, NOTICE Filter Name Rule Rule Message Name SNMP Trap Type Severity Position Type ----------- -------- --------- ---------------------- --------------- -------- no-info-debug-events 2 exclude * * * 12 entries were displayed. cluster1::> event filter test -filter-name err-wafl-no-scan-but-clone 271 events will be included in the given filter. cluster1::> event filter test -filter-name err-wafl-no-scan-but-clone -message-name wafl.scan.clone.split.cantLock The message-name "wafl.scan.clone.split.cantLock" is included in the given filter. cluster1::> event filter test -filter-name err-wafl-no-scan-but-clone -message-name wafl.scan.layout.cantWrite The message-name "wafl.scan.layout.cantWrite" is excluded from the given filter.