Reporting

Splunk doesn't delimit my fields if Field data ends in a '\' (backslash)

poojamistry
Engager

My data is delimited by say Pipe (|), and some fields of the data end in a backslash, and the delimiter seems to be escaped. I have control on what delimits the data, but not how the data ends in. Is there a work around for this?

Tags (1)

markthompson
Builder

Take a look at the split command,
alt text
Then you would have to use mvindex

Think I might have misinterpreted the question, if the above is what you're looking for, great.
If not, I'd suggest you use a regex to split the fields, I can provide more help if you confirm which is the answer you're looking for

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 ...