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.

Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...