Installation

Forwarder reconfiguration when migrating Indexer?

JdeFalconr
Explorer

I'm working to migrate our existing Indexer to a new machine. The instructions at https://docs.splunk.com/Documentation/Splunk/6.3.3/Installation/MigrateaSplunkinstance unfortunately are completely silent on the topic of what to do with forwarders.

If the new machine has a different IP than the existing indexer, do you have to manually go to every forwarder and re-point it? That seems thoroughly ridiculous. Alternatively, I see that for distributed environments you're supposed to remove the host to be upgraded from the distributed environment before migration. Would it be an option for my Indexer to remove it from the environment, swap IP addresses for the new and old machine (thus putting the new machine in the same IP as the old), reinstall, update DNS and be off to the races? That would seem to resolve quite a few potential issues.

Labels (2)
0 Karma
1 Solution

malmoore
Splunk Employee
Splunk Employee

Hi,

Like @codebuilder says, if you have indexer clusters, your best bet is to enable indexer discovery. If you don't have indexer clusters, then going forward you could configure your forwarders to point to a host name rather than an IP address, and subsequently configure DNS to point to the new machine after a migration.

Thank you for the heads up on the hole in documentation re: dealing with forwarders during a migration. We'll add some verbiage about how to deal with forwarders to this topic, and link out to other forwarder-related topics, and include the information discussed here.

Thanks!

View solution in original post

malmoore
Splunk Employee
Splunk Employee

Hi,

Like @codebuilder says, if you have indexer clusters, your best bet is to enable indexer discovery. If you don't have indexer clusters, then going forward you could configure your forwarders to point to a host name rather than an IP address, and subsequently configure DNS to point to the new machine after a migration.

Thank you for the heads up on the hole in documentation re: dealing with forwarders during a migration. We'll add some verbiage about how to deal with forwarders to this topic, and link out to other forwarder-related topics, and include the information discussed here.

Thanks!

JdeFalconr
Explorer

Thank you! My forwarders should already be pointed at a hostname and not an IP. I think what I'll do is be slightly messy and once the old Indexer is gone I'll recycle its A record and turn it into a CNAME that I'll point at the new server. I can also re-IP the new server for good measure.

Thanks too for updating the documentation, that will be most helpful.

0 Karma

codebuilder
Influencer

Yes. If you change the IP address of a indexer, then you will have to update each forwarder that is pointing to it.
An easier way would be to use a deployment server, but even easier is to implement indexer discovery.

----
An upvote would be appreciated and Accept Solution if it helps!
0 Karma

JdeFalconr
Explorer

Thank you!

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Index This | What travels the world but is also stuck in place?

April 2026 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Discover New Use Cases: Unlock Greater Value from Your Existing Splunk Data

Realizing the full potential of your Splunk investment requires more than just understanding current usage; it ...

Continue Your Journey: Join Session 2 of the Data Management and Federation Bootcamp ...

As data volumes continue to grow and environments become more distributed, managing and optimizing data ...