Installation

Change Splunk address in Linux (Rocky 9)

limonkay
New Member

Splunk version: splunk-9.2.0.1
Host: Linux (Rocky 9)

Hello,

I am a new user testing Splunk. I installed the instance on Linux (Rocky 9). From reading various Q&A and docs, I see the location to change the instance address/IP and port is in a file within the installation directory called splunk-launch.conf, though it doesn't look like this file exists anymore.

Please guide me through changing these settings in the latest version of Splunk (9.2.0.1) in Unix CLI. My goal is to change the web interface address from http://alpha:8000 to http://beta:8000.

Thank you.

Labels (2)
0 Karma

kiran_panchavat
Communicator

@limonkay You can see the splunk-launch.conf in the /opt/splunk/etc 

[root@splunk-hf-level-4 etc]# cat splunk-launch.conf
# Version 9.2.0.1

# Modify the following line to suit the location of your Splunk install.
# If unset, Splunk will use the parent of the directory containing the splunk
# CLI executable.
#
# SPLUNK_HOME=/home/build/build-home

# By default, Splunk stores its indexes under SPLUNK_HOME in the
# var/lib/splunk subdirectory. This can be overridden
# here:
#
# SPLUNK_DB=/home/build/build-home/var/lib/splunk
# Splunkd daemon name
SPLUNK_SERVER_NAME=Splunkd

# If SPLUNK_OS_USER is set, then Splunk service will only start
# if the 'splunk [re]start [splunkd]' command is invoked by a user who
# is, or can effectively become via setuid(2), $SPLUNK_OS_USER.
# (This setting can be specified as username or as UID.)
#
# SPLUNK_OS_USER
PYTHONHTTPSVERIFY=0
PYTHONUTF8=1
ENABLE_CPUSHARES=true[root@splunk-hf-level-4 etc]# pwd
/opt/splunk/etc
[root@splunk-hf-level-4 etc]# /opt/splunk/bin/splunk --version
Splunk 9.2.0.1 (build d8ae995bf219)
[root@splunk-hf-level-4 etc]#
0 Karma

kiran_panchavat
Communicator
0 Karma

isoutamo
SplunkTrust
SplunkTrust

Are you adding additional ip / name to your host or just switch ip-name mapping? 

0 Karma
Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...