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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...