Getting Data In

Forwarder's hostname

khhenderson
Path Finder

What is the best way to change the hostname's of the forwarders (Linux)? We have change our naming convention. I changed the entry in the server.conf (serverName = $HOSTNAME), stopped splunkd and then restarted on the forwarder. I checked the "Deployment Monitor" and the newly renamed machine did not show up. The old name was still in the list. I gave it 20 minutes, no change. The "Current Status" for the old name changed to "missing". I was able to search using the new name. Can someone help with step by step procedures?

1 Solution

briang67
Communicator

Did you try changing the "host = hostname" field in the inputs.conf on the forwarder?

View solution in original post

briang67
Communicator

Did you try changing the "host = hostname" field in the inputs.conf on the forwarder?

briang67
Communicator

khhenderson
Path Finder

There is not a line in my inputs.conf for "host" on the forwarder. It only list the directories to be monitored.

0 Karma
Get Updates on the Splunk Community!

Platform Newsletter Highlights | March 2023

 March 2023 | Check out the latest and greatestIntroducing Splunk Edge Processor, simplified data ...

Enterprise Security Content Updates (ESCU) - New Releases

In the last month, the Splunk Threat Research Team (STRT) has had 3 releases of new content via the Enterprise ...

Thought Leaders are Validating Your Hard Work and Training Rigor

As a Splunk enthusiast and member of the Splunk Community, you are one of thousands who recognize the value of ...