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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...