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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...