Splunk Search

Auto_pause search settings

Jaci
Splunk Employee
Splunk Employee

I have some question about auto_pause.

I can use via input the "auto_pause=true" in the URL when I search like "https://192.xxx.xxx.xxx:8000/en-US/app/search/flashtimeline?auto_pause=true&q=search%20index%3D*" and I must to do every time when I want to use auto_pause function.

But now I want to auto pause the search without inserting "auto_pause=true" how can I do that?

How can I configure my splunk server to auto pause without user's input "auto_pause=true" in the URL.

Please tell me how to set my configure files to solve this.

1 Solution

sideview
SplunkTrust
SplunkTrust

Unfortunately the autopause feature was only implemented at the URI level. Short of patching the JobStatus module in your instance (possible but not generally recommended), I dont see anything you can do here to change the behavior.

Even if you were to hardcode all the links that go to flashtimeline and edit all the ViewRedirector modules in your views to have a <param name="uriParam"> that sets autopause to true, even then the autopause feature only takes effect on the very first search dispatched in the view. The second, third search and all subsequent searches will always ignore the autopause number and run to completion.

View solution in original post

sideview
SplunkTrust
SplunkTrust

Unfortunately the autopause feature was only implemented at the URI level. Short of patching the JobStatus module in your instance (possible but not generally recommended), I dont see anything you can do here to change the behavior.

Even if you were to hardcode all the links that go to flashtimeline and edit all the ViewRedirector modules in your views to have a <param name="uriParam"> that sets autopause to true, even then the autopause feature only takes effect on the very first search dispatched in the view. The second, third search and all subsequent searches will always ignore the autopause number and run to completion.

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!

Keep the Learning Going with the New Best of .conf Hub

Hello Splunkers, With .conf26 getting closer, there’s already a lot of excitement building around this year’s ...

Splunk Community Badges!

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

How to find the worst searches in your Splunk environment and how to fix them

Everyone knows Splunk is a powerful platform for running searches and doing data analytics. Your ...