Security

How to change Splunk accessing URL

New Member

Hi,
I would like to change splunk accessing URL,
Currently running on http://localhost:8000
I need to change it as http://example.splunk.com
For these, what conf file i need to change.

Tags (1)
0 Karma

Motivator

hi thiru53
To change your splunk URL http://localhost:8000 find the default host name of your machine and replace http://localhost:8000 by

http://<hostname>:8000 

For example if your default host name is momo-PC
use http://momo-PC:8000 like URL
you can also use IP adresse for example http://121.0.0.7:8000

0 Karma

Legend

This is a duplicate of http://splunk-base.splunk.com/answers/37187

Consult the answers in both places!

0 Karma

Splunk Employee
Splunk Employee

You can edit the default port in the web.conf file in $SPLUNK_HOME/etc/system/local.

This is documented quite well in the admin guide, as well as reference documentation.

Additionally, you can use the splunk command:

./splunk set web-port 80 -auth admin:changeme

To change your DNS, you will need to consult your own network infrastructure.

0 Karma

Path Finder

I down voted this post because the web.conf file is not in system/local anymore

0 Karma