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
Get Updates on the Splunk Community!

Index This | Why did the turkey cross the road?

November 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...