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!

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...