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!

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to ...

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to Officially Supported Splunk ...