Dashboards & Visualizations

Pie chart from multiple queries

shreyad
Explorer

I want to create a pie chart for a dashboard, but I would like each piece of the pie to be the results from separate queries. How do I achieve that?

Tags (2)
0 Karma

PowerPacked
Builder

Hi @shreyad

I believe whole Pie is considered as 100% in which each value takes some percentage by calculating its quantity on the whole.
bringing pieces from individual queries should not be the case.

Thanks

0 Karma

pradeepkumarg
Influencer

How do your individual queries look like? You can combine all your individual queries into one search and then run statistics on the result set to generate a piechart

Eg:

  mysearch1 |table field1 count | append [mysearch2 |table field1 count ] | append [mysearch3 |table field1 count] | stats sum(count) by field1

0 Karma
Get Updates on the Splunk Community!

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...

Fun with Regular Expression - multiples of nine

Fun with Regular Expression - multiples of nineThis challenge was first posted on Slack #regex channel ...