Splunk Search

How to change stats/chart tabular format output to bar chart?

dhruv101
Path Finder

Hi,

I want to plot values on x axis with their count on y as a bar chart.
Both

|stats count by val

and

|chart count by val

are displaying data in tabular format
val count
a 3
b 5

How do I display it in bar chart format?

Thanks.

0 Karma
1 Solution

dhruv101
Path Finder

Change table tag to chart

View solution in original post

0 Karma

dhruv101
Path Finder

Change table tag to chart

0 Karma

dhruv101
Path Finder

Hey all. Sorry I was making a foolish mistake writing under tag. After changing to it worked. Thanks!

0 Karma

pradeepkumarg
Influencer

You must be in Statistics tab. Change to Visualizations tab?
The tabs are just below the search.

somesoni2
Revered Legend
0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

What Is Splunk? Here’s What You Can Do with Splunk

Hey Splunk Community, we know you know Splunk. You likely leverage its unparalleled ability to ingest, index, ...

Level Up Your .conf25: Splunk Arcade Comes to Boston

With .conf25 right around the corner in Boston, there’s a lot to look forward to — inspiring keynotes, ...

Manual Instrumentation with Splunk Observability Cloud: How to Instrument Frontend ...

Although it might seem daunting, as we’ve seen in this series, manual instrumentation can be straightforward ...