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!

Developer Spotlight with Brett Adams

In our third Spotlight feature, we're excited to shine a light on Brett—a Splunk consultant, innovative ...

Index This | What can you do to make 55,555 equal 500?

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

Say goodbye to manually analyzing phishing and malware threats with Splunk Attack ...

In today’s evolving threat landscape, we understand you’re constantly bombarded with phishing and malware ...