Splunk Search

_json query problem

spisiakmi
Contributor

Hi, can anybody help me please?

I have _json indexed events in Splunk.

19.08.21 08:26:27,746

{ [-]
   nameS8.ManuelFail
   valuefalse

}

19.08.21 08:26:25,746

{ [-]
   nameS8.Pruefprogramm_PG
   valueS3_450

}

19.08.21 08:26:27,746

{ [-]
   nameS8.ManuelFail
   valuetrue

}

19.08.21 08:27:25,746

{ [-]
   nameS8.Pruefprogramm_PG
   valueS3_450

}

19.08.21 08:28:25,746

{ [-]
   nameS8.Pruefprogramm_PG
   valueS3_600

}

19.08.21 08:29:25,746

{ [-]
   nameS8.Pruefprogramm_PG
   valueS3_600

}

In the dashboard I choose specific time interval with the time pick up element. E.g. last 24 hours. I would like to have % number for each name: S8.Pruefprogramm_PG and its value, where name: S8.ManuelFail has value: true. It means % all name: S8.ManuelFail
value: true against all name: S8.ManuelFail
value: true/false. It is even possible? E.g. in this case I would like to have a table output:

S8.Pruefprogramm_PG S8.ManuelFail [%]

S3_450 50

Labels (1)
0 Karma

venkatasri
SplunkTrust
SplunkTrust

@spisiakmi  Can you share the original _raw json? switch to raw mode in search UI.

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!

From Data to Insight: Announcing the Winners of the Splunk Dashboard Contest

Hi Splunkers, First off, thank you to everyone who participated in our very first From Data to Insight: The ...

Splunk Developers: Construct Your Future at the .conf26 Builder Bar

Calling all Splunk architects, platform admins, and app developers: the site is open, and the blueprints are ...

Quick connection discovery mode for forwarders

When a Splunk forwarder loses connectivity to its indexers, it does not always reconnect immediately. In many ...