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!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI! Discover how Splunk’s agentic AI ...

[Puzzles] Solve, Learn, Repeat: Dereferencing XML to Fixed-length events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Stay Connected: Your Guide to December Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...