Splunk Search

disable automatic search execution when time ranges change

lady_bl00dst0n3
New Member

some datasets are large and when configuring an spl and changing the time range picker, it triggers the search to run at change. Is there a way to disable automatic search execution when a user changes the time range?

Labels (1)
0 Karma

livehybrid
SplunkTrust
SplunkTrust

Hi @lady_bl00dst0n3 

Are you referring to when you are writing a search in the search bar? 

Unfortunately Im not aware of any settings that can be changed to prevent this auto-running like you can on a dashboard. 

🌟 Did this answer help you? If so, please consider:

  • Adding karma to show it was useful
  • Marking it as the solution if it resolved your issue
  • Commenting if you need any clarification

Your feedback encourages the volunteers in this community to continue contributing

0 Karma

shashankD
Explorer

You have to do this manually, or if you able to build a python script, then you can build and disable the searches.

 

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

Is this in a dashboard?

If so, just remove the dependency between the time picker and the search, such that, even if the time picker is changed by the user, the search does not trigger.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...