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!

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!

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

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...