Splunk Search

How do you make a stacked bar chart based on a field?

sendilprakash
Explorer

I need to present the output of a query in a stacked bar diagram. Here is my search output:

alt text

Now, I want to present this out in a bar diagram. I want to show as 2 Not Tested and 1 Tested. Refer the below diagram for example:

alt text

1 Solution

cmerriman
Super Champion

try adding this to the back of your search: |transpose header_field=status

View solution in original post

cmerriman
Super Champion

try adding this to the back of your search: |transpose header_field=status

sendilprakash
Explorer

Yes transpose helped me

0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...