Dashboards & Visualizations

Pie chart of multi rows

preben12
Communicator

I have the following search

index="surveillance-status" source="rest://drip status" OR source="rest://drip-status2" | stats count by source, status

It gives me 4 rows with the fields source, status and a count for each, since the status can be either OK or ERROR

How can i turn this into a pie chart that shows a slice fore each source by statusalt text

Tags (1)
0 Karma
1 Solution

preben12
Communicator

Will answer this my self.

I just did
index="surveillance-status" source="rest://drip status" OR source="rest://drip-status2" | chart count by source, status

View solution in original post

0 Karma

preben12
Communicator

Will answer this my self.

I just did
index="surveillance-status" source="rest://drip status" OR source="rest://drip-status2" | chart count by source, status

0 Karma
Get Updates on the Splunk Community!

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

 Prepare to elevate your security operations with the powerful upgrade to Splunk Enterprise Security 8.x! This ...

Get Early Access to AI Playbook Authoring: Apply for the Alpha Private Preview ...

Passionate about security automation? Apply now to our AI Playbook Authoring Alpha private preview ...

Reduce and Transform Your Firewall Data with Splunk Data Management

Managing high-volume firewall data has always been a challenge. Noisy events and verbose traffic logs often ...