Splunk Search

_json query problem

spisiakmi
Builder

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!

test 2

test 222222

test

test

Join the Hackathon at .conf26 and build a No-Code AI agent

Join us for the AI Agent Buildathon, an in-person, three-hour hands-on Hackathon where you’ll use Splunk Agent ...