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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...