Splunk Search

How to display one row table in a pie chart?

LearningGuy
Motivator

How to display one row table in a pie chart?
Thank you for your help.

index=test
---- Score calculation -----
| table Score1, Score2, Score3, Score4

Score1Score2Score3Score4
70506090


My expected Pie Chart:     

CloudGuy_0-1700070887201.png

 

Labels (3)
0 Karma
1 Solution

ITWhisperer
SplunkTrust
SplunkTrust
| transpose 0 column_name=score

View solution in original post

LearningGuy
Motivator

Hello,
Your suggestion worked. Thanks for your help. I accepted this as a solution
Although the value field was labeled as "row 1". I was able to rename it as "value" field
| rename "row 1" as value
Please let me know if this is a good approach..  Thanks


0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

That works although it makes little difference to the pie chart

ITWhisperer
SplunkTrust
SplunkTrust
| transpose 0 column_name=score
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...