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

{ [-]
   name: S8.ManuelFail
   value: false

}

19.08.21 08:26:25,746

{ [-]
   name: S8.Pruefprogramm_PG
   value: S3_450

}

19.08.21 08:26:27,746

{ [-]
   name: S8.ManuelFail
   value: true

}

19.08.21 08:27:25,746

{ [-]
   name: S8.Pruefprogramm_PG
   value: S3_450

}

19.08.21 08:28:25,746

{ [-]
   name: S8.Pruefprogramm_PG
   value: S3_600

}

19.08.21 08:29:25,746

{ [-]
   name: S8.Pruefprogramm_PG
   value: S3_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!

Self-Healing Pipeline Is Now Generally Available: AI-Powered CIM Compliance

Maintaining data integrity across security and analytics pipelines is an ongoing challenge. Data ...

Meet Splunk Observability Studio: AI-Assisted OpenTelemetry Instrumentation Without ...

Instrumentation is usually the last step or even an afterthought when building out a project. The feature ...

Federated Search for Cisco Security and Analytics Logging (SAL) is now GA on Splunk ...

Federated Search for Cisco  Security Analytics and Logging (SAL) is now generally available as part of the ...