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
Get Updates on the Splunk Community!

Splunk Mobile: Your Brand-New Home Screen

Meet Your New Mobile Hub  Hello Splunk Community!  Staying connected to your data—no matter where you are—is ...

Introducing Value Insights (Beta): Understand the Business Impact your organization ...

Real progress on your strategic priorities starts with knowing the business outcomes your teams are delivering ...

Enterprise Security (ES) Essentials 8.3 is Now GA — Smarter Detections, Faster ...

As of today, Enterprise Security (ES) Essentials 8.3 is now generally available, helping SOC teams simplify ...