Following major incidents tested alarm group policies based on :
1. Disk usage percent metric - match only on Pattern D:\ or E:\ not working in UIM ACC and PRD
2. Disk usage percent metric - match only on regex /D:\\/ or /E:\\/ working in UIM ACC and PRD
Device level policy based on:
3. Disk usage percent metric - match only on Pattern D:\ or E:\ working in UIM ACC and PRD
Release : 20.4
Component : UIM - ALARM_ENRICHMENT
D:\ or E:\ are not valid patterns rather D:\\ and E:\\ are the valid patterns, so ~/D:\\/ is the correct way to be used in the regex pattern.
The pattern is internally converted to a regular expression for doing the matching. In this case, the pattern used was "D:\" which will get converted to "~/^D:$/", i.e. the escape character backslash (\) gets lost.
To preserve the backslash character, it should be escaped with another backslash.