Dashboards & Visualizations

Time Tokens: Is there a way to set up a time search for a dashboard that filters by date and between hours?

neillnetzeband
New Member

Is there a way to set up a time search for a dashboard where we can pick a date to filter and the filter applied would be that date between certain hours? We have logs that we want on a dashboard but only for the hours of 6 AM to 1 PM, because the data outside these hours isn't relevant to the dashboard. So, basically, we want to have the time search in the dashboard, where we click or input a date and the filter applies that date with the times between 6 and 1.

Can this be done?

Tags (3)
0 Karma

mayurr98
Super Champion

hey @neillnetzeband

Just add this in your base search to consider data only between 6 AM to 1 PM:

<base_search> date_hour>=6 date_hour<=13

You do not need a filter to do that. With this search even if you select today or say a particular day it will give you result only for this time period for that day.
let me know if this helps!

0 Karma
Get Updates on the Splunk Community!

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...

Fun with Regular Expression - multiples of nine

Fun with Regular Expression - multiples of nineThis challenge was first posted on Slack #regex channel ...