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!

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to ...

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to Officially Supported Splunk ...

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI! Discover how Splunk’s agentic AI ...