Dashboards & Visualizations

How to get Splunk default histogram/timeline graph into a dashboard

agoktas
Communicator

Hello,

I want the exact graph that Splunk provides when you perform a search in one of my dashboards.

How do I do that?

When I save the search as a panel, I'm put into a position where I need to customize the graphing my self, which I fail miserably.

The Splunk default one is nice because it auto adjusts based on time frames you search (i.e.: Search a full day, it will break down timeline by 1 hour sections, 365 day search, it will break it down into days or weeks, etc.).

Thanks!

0 Karma
1 Solution

mporath_splunk
Splunk Employee
Splunk Employee

You can customize the span width in like so: ... | timechart count span=1d

View solution in original post

mporath_splunk
Splunk Employee
Splunk Employee

You can customize the span width in like so: ... | timechart count span=1d

agoktas
Communicator

| timechart count span=1h
worked perfectly. Now I have hourly columns/bars in the bar graph in the time span that I provide (auto adjusts the width). Very nice!

0 Karma

mporath_splunk
Splunk Employee
Splunk Employee

What's the output when you look at it in a dashboard? Can you post a screenshot? By default the visualizations behave the same in both Search and Dashboards.

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to December Tech Talks, Office Hours, and Webinars!

❄️ Celebrate the season with our December lineup of Community Office Hours, Tech Talks, and Webinars! ...

Splunk and Fraud

Watch Now!Watch an insightful webinar where we delve into the innovative approaches to solving fraud using the ...

Continuing Innovation & New Integrations Unlock Full Stack Observability For Your ...

You’ve probably heard the latest about AppDynamics joining the Splunk Observability portfolio, deepening our ...