Splunk Search

Use quoted parameter in request

MaximKorobov
New Member

I have quoted parameters in log files, which are processed by Splunk:

"Version":"21"

How to extract that parameter to use in requests like this:

Version = "21" OR ...

Please note that it's no chance to modify current Splunk's config files.

(original question: stackoverflow #18897765)

Tags (2)
0 Karma
1 Solution

alacercogitatus
SplunkTrust
SplunkTrust

You can try this:

your_search | extract kvdelim=":" | search Version="21"

This will pull the Key Value pairs that are delimited by a colon ":".

View solution in original post

0 Karma

alacercogitatus
SplunkTrust
SplunkTrust

You can try this:

your_search | extract kvdelim=":" | search Version="21"

This will pull the Key Value pairs that are delimited by a colon ":".

0 Karma

alacercogitatus
SplunkTrust
SplunkTrust

|extract kvdelim=":" pairdelim=","

0 Karma

MaximKorobov
New Member

I tryed it with no luck. Example: "Model":"Lenovo K900_ROW","Android":"4.2.1","Date":"Mon Sep 30 23:58:27 GMT+03:00 2013","Build":"RC11","LastActivity":"ru.TextActivity","Version":"21""StackTrace":"java.lang.RuntimeException"... wasn't found.

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

.conf25 Global Broadcast: Don’t Miss a Moment

Hello Splunkers, .conf25 is only a click away.  Not able to make it to .conf25 in person? No worries, you can ...

Observe and Secure All Apps with Splunk

 Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

What's New in Splunk Observability - August 2025

What's New We are excited to announce the latest enhancements to Splunk Observability Cloud as well as what is ...