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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...