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!

Splunk at Cisco Live 2025: Learning, Innovation, and a Little Bit of Mr. Brightside

Pack your bags (and maybe your dancing shoes)—Cisco Live is heading to San Diego, June 8–12, 2025, and Splunk ...

Splunk App Dev Community Updates – What’s New and What’s Next

Welcome to your go-to roundup of everything happening in the Splunk App Dev Community! Whether you're building ...

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