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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...