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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...

Design, Compete, Win: Submit Your Best Splunk Dashboards for a .conf26 Pass

Hello Splunkers,  We’re excited to kick off a Splunk Dashboard contest! We know that dashboards are a primary ...

May 2026 Splunk Expert Sessions: Security & Observability

Level Up Your Operations: May 2026 Splunk Expert Sessions Whether you are refining your security posture or ...