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.
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...