Splunk Search

How to force delete savedsearch results after x time , disable " AutomIatic lifetime extensions"?

teunlaan
Contributor

Is there  a setting that stops the "AutomIatic lifetime extensions"  (https://docs.splunk.com/Documentation/Splunk/9.0.3/Search/Extendjoblifetimes) of scheduled searches?

We have some dashboard with scheduled searches , refreshed every x time, that are mainly used during business hours. so we scheduled them for only the business hours.  Sometime someones need to look at the dash in the night. 

To be sure, they see a recent result we changed the dispatch.ttl too 600 (normally its run every 5 minutes) . So if the last schedule would be @6 pm, the results should be gone @6:10 pm .   If someone opens the dash @ 8pm, there aren't any results, and the search should run again.

Now the real problem, some people aren't closing the dashboard. So the last run (that was @ 6 pm) keeps getting extended!   So if someone else needs to take a look at the dashboard it's displaying the last run!

So is there a setting to force the results to be deleted after x period?

 

 

 

 

Labels (1)
0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Thanks for the Memories! Splunk University, .conf25, and our Community

Thank you to everyone in the Splunk Community who joined us for .conf25, which kicked off with our iconic ...

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Introducing Splunk 10.0: Smarter, Faster, and More Powerful Than Ever

Now On Demand Whether you're managing complex deployments or looking to future-proof your data ...