Dashboards & Visualizations

How to hide dashboard panel when user's search times out?

kmaron
Motivator

We are dealing with an issue where some of our users have a very short timeout in Splunk. We are working with Splunk to come up with better timeouts but in the meantime we need a way to stop dashboard panels form loading when a user times out to prevent them seeing partial results. 

I have tried the normal tokens that are used to hide a panel until a search is done but these "stopped" searches report as done (they just have partial results).   I have seen old solutions that used "finalized" but that has been deprecated.  ('ve tried cancelled, fail and error as well, no luck)

Does anyone have any idea how else I can stop these panels from loading when a search is "stopped" because of a timeout?

 

Labels (1)
Tags (2)
0 Karma

kmaron
Motivator

I figured it out.  I was able to use the job.isFinalized token along with "done"

0 Karma
Get Updates on the Splunk Community!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...