All Apps and Add-ons

How to make Splunk DB Connect 2 escape quotes

marcusnilssonmr
Path Finder

When indexing columns containing quotes ("), Splunk DB Connect 2 does not seem to quote the values:

x=""", x2="1"

The fields are naturally not interpreted correctly..

Is there a way to make Splunk DB Connect 2 escape values?

When using Splunk DB Connect, the format of the line is compatible with KV_MODE auto, key value pairs inside ". Obviously, this format does not work if the values have " in them.

What I want is for Splunk DB Connect to format lines to be compatible with KV_MODE auto_escaped. For this to work, it would need to replace " with \" automatically (and probably linefeeds as well)

Tags (1)
0 Karma

jcoates_splunk
Splunk Employee
Splunk Employee

have you tried putting a backslash character in front of them?

0 Karma

marcusnilssonmr
Path Finder

That is what I want Splunk DB Connect 2 to do, that app is formatting the event.

0 Karma
Get Updates on the Splunk Community!

Enterprise Security Content Update (ESCU) v3.54.0

The Splunk Threat Research Team (STRT) recently released Enterprise Security Content Update (ESCU) v3.54.0 and ...

Using Machine Learning for Hunting Security Threats

WATCH NOW Seeing the exponential hike in global cyber threat spectrum, organizations are now striving more for ...

New Learning Videos on Topics Most Requested by You! Plus This Month’s New Splunk ...

Splunk Lantern is a customer success center that provides advice from Splunk experts on valuable data ...