ViPR SRM: Alert-Consolidation, Errors while reading conf/bunit-group.csv, Illegal/unsupported escape sequence near index
Symptoms
You are getting the following errors in the Event-Processing-Manager for Alert-Consolidation:
WARNING [2017-04-14 14:06:32 EDT] PropertyTagger::fillDataStructure(): Errors while reading conf/bunit-group.csv
Content ""hostname-{XXXXXXXXXXXX}","VirtualMachine","Default"" on line xxx in conf/bunit-group.csv is invalid
WARNING [2017-04-18 09:39:03 EDT] PropertyTagger::createPropertyRecord(): Illegal/unsupported escape sequence near index 17
String - domain\hostname
^
java.util.regex.PatternSyntaxException: Illegal/unsupported escape sequence near index 17
Cause
Resolution
In order to resolve this you will need to edit the generic-event-ptf.xml located on the Primary Backend in APG/Event-Processing/Event-Property-Tagger/Alert-Consolidation/conf
and change the string type value for all key-property that are referencing device from regex to string
so that this: <key-property delete-after-use="false" string-type="regex">device</key-property>
looks like: <key-property delete-after-use="false" string-type="string">device</key-property>
save the changes and restart the Event-Processing-Manager for Alert-Consolidation