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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...