Deployment Architecture

Is there a best way to rename a Splunk indexer server?

cdavidy
Explorer

I've been asked to look into renaming my Splunk indexer server (don't ask why). Is there a "best" or safe method for doing this? On reviewing the config files, it doesn't appear complicated, but I wanted to make sure I wasn't missing something. Thanks.

Tags (1)

gkanapathy
Splunk Employee
Splunk Employee

The only places you need to change, unless you've added configurations yourself to the indexer are in $SPLUNK_HOME/etc/system/local/server.conf and $SPLUNK_HOME/etc/system/local/inputs.conf. These are the files that are updated if you change the name(s) in Manager, System Settings, Splunk server name and Default host name, respectively.

If you change the DNS name and other machines (forwarders, sysloggers) send to it, of course they will need to be updated. Note also that any indexed data that refers to the old host name will not and can not be updated.

BunnyHop
Contributor

You can either do it from the config file (indexes.conf) or through the GUI (Manager > Indexes). Keep in mind if you do rename the index and you have setup inputs to go in that index, you will have to reconfigure those input to point to the new name of the index.

Get Updates on the Splunk Community!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

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 ...