Splunk Search

Problem with Pie Chart

strive
Influencer

Hi,

I read through the pie chart docs in splunk. I am not able to customize it to my needs.

My Search query is:

first search part | stats sum(A) as Total A, sum(B) as Total B

A and B are two separate fields in summary index.

The result set looks like this:

A   B
10  20

To display this as pie chart, i need the result set as

Label   Value
 A       10
 B       20

What can i pipe to my search query so that i get result set as mentioned above.

Thanks

Strive

Tags (2)
0 Karma
1 Solution

strive
Influencer

I did it. I used |transpose and it worked.

View solution in original post

strive
Influencer

I did it. I used |transpose and it worked.

Get Updates on the Splunk Community!

Data Management Digest – December 2025

Welcome to the December edition of Data Management Digest! As we continue our journey of data innovation, the ...

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...