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!

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

 (view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...