Getting Data In

Key Value Pairs with Spaces

ezajac
Path Finder

A developer made a change to the logging that they were managing. They added a new Key Value Pair and the results now have spaces ie Operation=Web Service Call: callABCService. Splunk Search is classifying this as Operation=Web. Is there a quick fix that I can make in Transforms or Props to work around this?

Thank you

Tags (1)
0 Karma

n8
Splunk Employee
Splunk Employee

Is each KV pair on a line by itself? If so you can just do something like the following:

props.conf

REPORT-bad_dev_format = kv-spaces

transforms.conf

[kv-spaces]
DELIMS = "\n","="

Otherwise paste a copy of an event and maybe we can suggest a transforms solution.

0 Karma

michaelbrunetto
New Member

Easiest way is to get the developer to quote their output. So Operation="Web Service Call: callABCService".

I have a similar problem, but with a product I can't change the logging on, so any other advice would be wonderfully helpful.

0 Karma

jonuwz
Influencer

Whats the rest of the raw event look like ?

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

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 GA in US-AWS!

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