All Apps and Add-ons

Workaround for backslashes in values as noted in CSCvc36977

davebo1896
Communicator

I created a transform to get rid of the backslashes in the values as mentioned in this bugreport:
https://quickview.cloudapps.cisco.com/quickview/bug/CSCvc36977

Thought I'd throw it out here in case anyone needs it:

MV_ADD = 1
REGEX = (,\s|\\,)?(?<_KEY_1>[A-Za-z\-\s]+)=(?<_VAL_1>([^(,\s|\\,)]|\s)*)(,\s|\\,)?
0 Karma

davebo1896
Communicator

Improved:
MV_ADD = 1
REGEX = (,\s|\,)?((?<_KEY_1>[A-Za-z-\s\d]+)=(?<_VAL_1>[^,]+(?!\,)))(,\s|\,)?

But still not complete

0 Karma

ChrisBell04
Communicator

I took a different approach and removed the slashes instead. ISE 2.2.0.x still has this problem (bug linked to only 1.4.x)

[cisco:ise:syslog]
SEDCMD-strip_slash = s/\\\,/, /g
SEDCMD-strip_semicln = s/\\\;/;/g
0 Karma
Take the 2021 Splunk Career Survey

Help us learn about how Splunk has
impacted your career by taking the 2021 Splunk Career Survey.

Earn $50 in Amazon cash!