Installation

Setting Splunk Enterprise URL

LCelley
Explorer

I've been attempting to set a url for our single instance of Splunk. Right now we've been accessing it at http://servername:8000, but what I'm looking for is something like http://company.splunk.com.

I've been able to set a cname dns record, but it only seems to accept the server name. I'm wondering what I'm missing to be able to redirect both the server name and port number.

Labels (2)
0 Karma
1 Solution

thambisetty
SplunkTrust
SplunkTrust

@LCelley 

  1.  DNS record : when you resolve for example "company.splunk.com" then it should return IP of your splunk instance.
  2. Splunk web port change: By default Splunk web uses port 8000, you have to change this to 80 if you don't want to specify port in URL. http default port is 80 so you don't need to specify port along with FQDN.

How to change web port from CLI:

$SPLUNK_HOME/bin/splunk set web-port 80 

$SPLUNK_HOME/bin/splunk restart

————————————
If this helps, give a like below.

View solution in original post

0 Karma

thambisetty
SplunkTrust
SplunkTrust

@LCelley 

  1.  DNS record : when you resolve for example "company.splunk.com" then it should return IP of your splunk instance.
  2. Splunk web port change: By default Splunk web uses port 8000, you have to change this to 80 if you don't want to specify port in URL. http default port is 80 so you don't need to specify port along with FQDN.

How to change web port from CLI:

$SPLUNK_HOME/bin/splunk set web-port 80 

$SPLUNK_HOME/bin/splunk restart

————————————
If this helps, give a like below.
0 Karma
Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...