A virtual machine running Splunk Universal Forwarder is migrated from one hypervisor platform to another (such as migrating from VMware to Linux KVM) using a 1:1 disk-image migration tool while preserving the operating system, Splunk installation directory, and configured network IP address.
During the migration, virtualization and hardware-layer identifiers change, including:
/sys/class/dmi/id/product_uuid)/etc/fstab, blkid, or Windows volume GUIDs)Impact Overview:
$SPLUNK_HOME/etc/instance.cfg. Because a 1:1 disk-image migration transfers the existing filesystem intact, this GUID and the monitored-file read pointers (fishbucket) remain preserved.$SPLUNK_HOME directory structure remains intact.$SPLUNK_HOME/var/lib/splunk/fishbucket) can resume tracking seamlessly.$SPLUNK_HOME/etc/instance.cfg to verify instance identity continuity:
grep -i "guid" $SPLUNK_HOME/etc/instance.cfg
Stop the Universal Forwarder Cleanly Before Migration:
Flush in-memory queues and commit fishbucket checkpoint data to disk before capturing the final cutover snapshot:
$SPLUNK_HOME/bin/splunk stop
Start the Service After Host Boot:
Once the virtual machine is powered on in the target virtualization environment, start the forwarder and confirm operational status:
$SPLUNK_HOME/bin/splunk start
$SPLUNK_HOME/bin/splunk status
Verify Network Connectivity:
Confirm that network routing and firewall rules permit outbound communication from the forwarder to:
9997 (or configured ingestion port).8089 (if centrally managed).Check Local Forwarder Logs:
Inspect splunkd.log to confirm receiver connections and rule out queue blockage:
grep -iE "error|warn" $SPLUNK_HOME/var/log/splunk/splunkd.log
Verify Ingestion on the Receiving Indexer Tier:
Run the following SPL search on the Search Head to verify active data stream resumption:
index=_internal group="tcpin_connections" sourceHost="<migrated_host_name>"
| stats latest(_time) as last_connected, values(version) as version, values(os) as os by sourceHost
Prepare Template for Multi-VM Cloning (If Applicable):
If the VM image is used as a template to create multiple virtual machines (rather than a 1:1 migration), run the clone preparation command prior to template capture:
$SPLUNK_HOME/bin/splunk clone-prep-clear-config
| Revision | Publish Date | Comments |
|---|---|---|
1.0 |
08-Nov-2026
|
Initial Release |