Splunk Search

Automatic hostname configuration?

tkrn
Engager

In regard to > http://answers.splunk.com/questions/794/how-to-change-hostname-of-a-splunk-server

My question is why doesn't the host name change automatically? What would stop a few lines of code checking the system's host name at system start to determine if a host name has changed? It is safe to assume to check during start up since one cannot change a host name without rebooting.

What do you think of this idea?

Tags (1)
0 Karma

gkanapathy
Splunk Employee
Splunk Employee
  1. It is not clear that the hostname value is what you'd necessarily want to use as a default hostname. For example, hostname my return a fully-qualifed name, and you might prefer a short name, or vice versa. Or hostname may return the hostname of a network interface other than the one you prefer the machine to be known by.
  2. Host names can be changed without rebooting.
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 ...