Dashboards & Visualizations

Dashboard Bar Chart Direction

theotherzachm
Engager

I'm trying something that's probably pretty simple. When I use the dashboard editor to make a dashboard consisting of a couple bar charts; I can't seem to get them turned the proper direction. I'm using the following search string:

searchstring | chart sum(linecount) as Count by fieldname | head 15

When I run the report outside the dashboard and click on show report it shows the way I want it. Which is fieldname with count as horizontal bars. However when I put the search in the dashboard it puts count as vertical bars. Any idea how to flip these? I've tried option="reverse" to no avail.

Thanks in advance for any help.

Tags (2)
1 Solution

ftk
Motivator

There are two chart types that will display bars:

  • Column: This chart type will show veritcal bars (columns)
  • Bar: This chart type will show horizontal bars.-

View solution in original post

ftk
Motivator

There are two chart types that will display bars:

  • Column: This chart type will show veritcal bars (columns)
  • Bar: This chart type will show horizontal bars.-

theotherzachm
Engager

Awesome, this pointed me in the right direction. I added the "bar" and now it's displayed correctly. Would be nice if this was an option that could be modified through the gui.

0 Karma
Get Updates on the Splunk Community!

Upcoming Webinar: Unmasking Insider Threats with Slunk Enterprise Security’s UEBA

Join us on Wed, Dec 10. at 10AM PST / 1PM EST for a live webinar and demo with Splunk experts! Discover how ...

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...