All Apps and Add-ons

How to host Splunk on Azure


I want to run Splunk on an Azure VM and use it from the browser on my desktop PC. In the Azure VM I can get to the login page at mysplunkserver:8000. However, from my desktop I cannot get to I changed the Splunk web port to 80. Now I can login at mysplunkserver from the VM but I still cannot login from my desktop at

Any ideas what I need to do?

0 Karma


Thanks Glenn:
Great!!! Works with me.

0 Karma

Splunk Employee
Splunk Employee

Please see this answer:

Also, I noticed that you have the port in the wrong location of you URL. Once the endpoints are configured, the public URL should resemble this:

Splunk Employee
Splunk Employee

Hi Craig

You can easily do this as I've done it both for Windows and Linux, you just need to open the ports.

By default ports 8000 and 8089 are not open, you must open them up in order to allow external access. You will need to do one or both of the following:

  1. You must open up endoints on the VM for ports 8000 and 8089. You can do this in the Azure portal by modifying your VM's configuration and adding the two endpoints. You can also use the Azure Powershell cmdlets or the Azure xPlat command line tools. If you want to you can change the mapping of the endpoints so that the external ports and internal ports are different. Whatever you set the internal port to, you need to make sure you've configured the Splunk instance itself to use.
  2. If your VM is using a Windows image, you also need to add inbound rules to the Windows Firewall for both ports. You can do this by simply logging on the machine using Remote Desktop.

Let us know if this doesn't work for you!


0 Karma


Hello Craig,
Are you able to ping the site from your desktop? Try to get use PING and Telnet splunk_server 80.

Both will allow you to get the status whether it is reachable or not. If not try to turn off the firewall and connect. Mostly it happens due to firewall or connectivity route.


0 Karma
Get Updates on the Splunk Community!

Dashboard Studio Challenge - Learn New Tricks, Showcase Your Skills, and Win Prizes!

Reimagine what you can do with your dashboards. Dashboard Studio is Splunk’s newest dashboard builder to ...

Introducing Edge Processor: Next Gen Data Transformation

We get it - not only can it take a lot of time, money and resources to get data into Splunk, but it also takes ...

Take the 2021 Splunk Career Survey for $50 in Amazon Cash

Help us learn about how Splunk has impacted your career by taking the 2021 Splunk Career Survey. Last year’s ...