Splunk Search

Auto_pause search settings

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

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

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