Deployment Architecture
Highlighted

Unable to connect to remote splunk server

Explorer

I'm trying to run the splunk CLI client using a remote server uri. The remote server is live and listening on port 8089, and the client has access to port 8089 on the server (verified using telnet). However, when I tried to run the splunk client using the -uri http://[my splunk server]:8089 option it immediately returns with the error message "Splunk is not running, and it must be for this operation. To start splunk, run "splunk start"". I've also tried adding allowRemoteLogin = always to server.conf without success.

Tags (2)
0 Karma
Highlighted

Re: Unable to connect to remote splunk server

Legend

You forgot the s in the https uri (splunkd only accepts SSL connections).

-uri https://[your splunk server]:8089

View solution in original post

Highlighted

Re: Unable to connect to remote splunk server

Explorer

Thanks, that did the trick. I figured it was something simple.

0 Karma
Highlighted

Re: Unable to connect to remote splunk server

Legend

Great! Could you please mark the answer as accepted? Thanks!

0 Karma