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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...