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!

What the End of Support for Splunk Add-on Builder Means for You

Hello Splunk Community! We want to share an important update regarding the future of the Splunk Add-on Builder ...

Solve, Learn, Repeat: New Puzzle Channel Now Live

Welcome to the Splunk Puzzle PlaygroundIf you are anything like me, you love to solve problems, and what ...

Building Reliable Asset and Identity Frameworks in Splunk ES

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