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!

See just what you’ve been missing | Observability tracks at Splunk University

Looking to sharpen your observability skills so you can better understand how to collect and analyze data from ...

Weezer at .conf25? Say it ain’t so!

Hello Splunkers, The countdown to .conf25 is on-and we've just turned up the volume! We're thrilled to ...

How SC4S Makes Suricata Logs Ingestion Simple

Network security monitoring has become increasingly critical for organizations of all sizes. Splunk has ...