Splunk Search

Connection timed out when using Splunk Java SDK to make search query

vickie123
New Member

I am seeing this error:

java.lang.RuntimeException: Operation timed out (Connection timed out)

when I try to create a search job using the Splunk Java SDK. I am able to get a connection but cannot create a search job.

The curl command to create a new search job works fine and returns the new sid as well.

Tags (1)
0 Karma
Get Updates on the Splunk Community!

Prove Your Splunk Prowess at .conf25—No Prereqs Required!

Your Next Big Security Credential: No Prerequisites Needed We know you’ve got the skills, and now, earning the ...

Splunk Observability Cloud's AI Assistant in Action Series: Observability as Code

This is the sixth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...

Splunk Answers Content Calendar, July Edition I

Hello Community! Welcome to another month of Community Content Calendar series! For the month of July, we will ...