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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...