Splunk Enterprise

Is it possible to control timed access to a dashboard or a knowledge object?

genesiusj
Builder

Hello,

Is it possible to control timed access to a dashboard or a knowledge object?
I do not include the SPL here because I don't believe it is needed at this time.

We have a dashboard populated from the results of several outputlookup files run at 5:00 in the morning every day. The users of this dashboard have been advised to not use the dashboard until 5:45 am. However, it is still possible that they could. As all the outputlookup files are not in place until approx 5:40, the results on the dashboard might be incomplete or totally inaccurate.

Is there a way to control timed access to the dashboard?

Thanks and God bless,
Genesius

Tags (1)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

Splunk provides no way to regulate access to objects based on the time of day.

You may, however, be able to add a panel at the top of the dashboard that would compare the current time to 5:45am and warn early users that the data is from yesterday.  Perhaps the following query in a single value panel will do.

| makeresults 
| eval data_is_current = if(now() > relative_time(now(), "@d+5h+45m"), 1, 0) 
| eval msg = "Data is " . if(data_is_current==1, "", "NOT") . " current" 
| table msg
---
If this reply helps you, Karma would be appreciated.
Get Updates on the Splunk Community!

Upcoming Webinar: Unmasking Insider Threats with Slunk Enterprise Security’s UEBA

Join us on Wed, Dec 10. at 10AM PST / 1PM EST for a live webinar and demo with Splunk experts! Discover how ...

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...