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!

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

The Splunk Community Dashboard Challenge is underway! This is your chance to showcase your skills in creating ...

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...