Splunk Dev

Splunk REST API - search call fails on first attempt then runs successfully

burho1
New Member

I'm using this endpoint to run a search and return the SID using Denodo (data virtualization) to make the connection and call. 

https://xxxxx.splunk.com:8089/services/search/jobsrun

The first time I run the call, it returns with a connection reset error. Then when I re-run, it returns the SID successfully. I'm able to run it again and get a SID back. It's only after I was a few hours and try to execute the call that I get the connection reset error. Do you know what might be causing this, and how I might overcome the error on the first run.

Labels (1)
Tags (1)
0 Karma

burho1
New Member

Typo in the original post. This is the endpoint:

https://xxxxx.com:8089/services/search/jobs

0 Karma
Get Updates on the Splunk Community!

Celebrating Fast Lane: 2025 Authorized Learning Partner of the Year

At .conf25, Splunk proudly recognized Fast Lane as the 2025 Authorized Learning Partner of the Year. This ...

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 ...