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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

Rounding off the Splunk Dashboard Contest

What does a contest-winning Splunk dashboard look like? In this case, it isn't in a browser tab at all. It ...

A Four Part Event Series: AI + Observability: AI Agents, LLMs, Apps, & Infrastructure

AI + Observability: AI Agents, LLMs, Apps, & Infrastructure The rapid evolution of artificial intelligence ...