Splunk Search

help me with Pie Chart

sravankaripe
Communicator

----------------------| stats count by status | eval status=" Status: ".status.", Count : ".count|makemv delim="," status

alt text

in above pie chart it showing

Status: 200, Count: 10
---------------------------
Status: 400 Count: 20
---------------------------

i want to display it as
Status: 200
Count: 10
---------------------------
Status: 400
Count: 20
---------------------------

please help me with this

Tags (2)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

Try this. The makemv command is not needed.

... | stats count by status | eval status=" Status: ".status."\nCount : ".count
---
If this reply helps you, Karma would be appreciated.

View solution in original post

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Try this. The makemv command is not needed.

... | stats count by status | eval status=" Status: ".status."\nCount : ".count
---
If this reply helps you, Karma would be appreciated.
0 Karma

sravankaripe
Communicator

No, its not working
i am got search result like this
Status: 200\nCount : 10
Status: 302\nCount : 20

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Sorry, I thought that would work.

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...

Cloud Monitoring Console - Unlocking Greater Visibility in SVC Usage Reporting

For Splunk Cloud customers, understanding and optimizing Splunk Virtual Compute (SVC) usage and resource ...

Automatic Discovery Part 3: Practical Use Cases

If you’ve enabled Automatic Discovery in your install of the Splunk Distribution of the OpenTelemetry ...