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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...