Everytime we have to force replication on the SH nodes of a SH Cluster, the inputs.conf replicates and overwrites the hostname. Is there anyway to blacklist a .conf file by location to prevent it replicating when you do a forced resync of the SH nodes?
Totally agreeing with you as this only happens on our ES SHC, and not our ITSI SHC. We have a work-around where we edit the $SPLUNK_HOME/etc/system/local/inputs.conf
This will be looked into further after the holidays, so if I do find it, I'll be back on here.
I just did this from the /opt/splunk directory on all 3 SHC members, and the deployer:
grep --include=inputs.conf -rnw . -e "host ="
The only place where I see the hostname being in an inputs.conf is in $SPLUNK_HOME/etc/system/local, and $SPLUNK_HOME/var/run/splunk/confsnapshot/baselinelocal/inputs.conf
Kind of at a loss...
@SteveBowser Checkout
$decideOnStartup
hostnameOption = [ fullyqualifiedname | clustername | shortname ]
If this reply helps, Please Upvote.
As we use specialized names for the host, this might not be an option, but we will be looking at this also. Like I mentioned to the other responder, after the holidays and we have a crude work-around.