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!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...