Deployment Architecture

Unable to connect to remote splunk server

cloudharmony
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
1 Solution

Ayn
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

Ayn
Legend

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

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

Ayn
Legend

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

0 Karma

cloudharmony
Explorer

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

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