Splunk Cloud Platform

Direct REST API /services/saved/searches timeout

daniedoe
Explorer

I want to know if there is any server-side timeout that a response must complete in for a call to the endpoint Get /services/saved/searches. Does Splunk have a default timeout for handling these API calls?


Labels (1)
0 Karma

Cievo
Path Finder

Hello

Maybe you need to edit /opt/splunk/etc/system/local/web.conf

adding the stanza:

splunkdConnectionTimeout = 120

More HERE.

daniedoe
Explorer

I believe this only applies to how Splunk Web (UI) interacts with splunkd not how direct REST API calls are made to splunkd on port 8089. 

I am trying to determine if I should just use a client side timeout for the endpoint call.


0 Karma

kiran_panchavat
Champion

@daniedoe 

You're correct. The splunkdConnectionTimeout setting in web.conf primarily affects how Splunk Web (UI) interacts with splunkd. For direct REST API calls made to splunkd on port 8089, the timeout behavior can be different.

If you need more detailed information, you can refer to the Splunk REST API

Solved: How do I change the REST API execution timeout? - Splunk Community 

Access endpoint descriptions - Splunk Documentation

Did this help? If yes, please consider giving kudos, marking it as the solution, or commenting for clarification — your feedback keeps the community going!

daniedoe
Explorer

I appreciate the reply, but this is why I am asking the question I cannot find any information about a timeout in the documentation for this.

If there is no timeout that is fine, just want to know.

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

What Is Splunk? Here’s What You Can Do with Splunk

Hey Splunk Community, we know you know Splunk. You likely leverage its unparalleled ability to ingest, index, ...

Level Up Your .conf25: Splunk Arcade Comes to Boston

With .conf25 right around the corner in Boston, there’s a lot to look forward to — inspiring keynotes, ...

Manual Instrumentation with Splunk Observability Cloud: How to Instrument Frontend ...

Although it might seem daunting, as we’ve seen in this series, manual instrumentation can be straightforward ...