incorrect hostname on logstash from vms created from image template
up vote 0 down vote favorite
There are the steps i have taken so far:- 1)created a image template from a vm 2) spin new vms from that image 3) each vm (and the image) had logstash forwarder running on it
Now the issue is when i check in logstash all messages are coming under the same hostname of the image-vm.
Say I created the image from vm whose hostname is "test" All new vms (even though they have a different hostname) are sending messages with host="test"
any pointers ? where i need to fix the hostname so that image-hostname is wiped by currect hostname ?