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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...