Hi @Oracle,
As you can see in the link below you can change the hostname either via CLI or config file :
https://answers.splunk.com/answers/154999/how-can-i-change-the-default-hostname-in-splunk.html
If you need to change the name in order to be able to manage your server more easily from the deployment server I advise you to use the following configuration which can be deployed from an app onto your forwarders :
clientName = deploymentClient
* Defaults to deploymentClient.
* A name that the deployment server can filter on.
* Takes precedence over DNS names.
As shown here :
https://docs.splunk.com/Documentation/Splunk/7.2.6/Admin/Deploymentclientconf#.5Bdeployment-client.5D
Cheers,
David
... View more