Splunk Search

Problem with (automatic or not) field extraction

a_naoum
Path Finder

Hi guys,

I have this case. Structured (more or less) data, KV pairs with '=' and divided with tabs.

Case 1 (automatic KV):
All good except two fields which contains urls. If the urls have '&' and after that KV pairs (typical for pages with fields) then all the data after the first '&' is been divided to fields (ex. url=koko.com/kokokok.php?oko&a=oooo&b=pooo) In the example I will have extracted fields url, a and b.

Case 2 (no automatic KV, use of DELIMS = "\t", "=" only)
All good except the two fields which contains urls. If the urls have '&' they are just simple disappeared. They are not extracted.

So it is possible somehow to get the urls corrected and regardless of the '&' with one way or another?

thanks!

0 Karma
Get Updates on the Splunk Community!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...