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
Influencer

@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

I hope this helps, if any reply helps you, you could add your upvote/karma points to that reply, thanks.

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

Mastering Data Pipelines: Unlocking Value with Splunk

 In today's AI-driven world, organizations must balance the challenges of managing the explosion of data with ...

The Latest Cisco Integrations With Splunk Platform!

Join us for an exciting tech talk where we’ll explore the latest integrations in Cisco + Splunk! We’ve ...

AI Adoption Hub Launch | Curated Resources to Get Started with AI in Splunk

Hey Splunk Practitioners and AI Enthusiasts! It’s no secret (or surprise) that AI is at the forefront of ...