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!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI! Discover how Splunk’s agentic AI ...

[Puzzles] Solve, Learn, Repeat: Dereferencing XML to Fixed-length events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Stay Connected: Your Guide to December Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...