X-Pack monitoring shows one of all of the configured Logstash nodes

When you configure X-Pack to monitor multiple Logstash instances make sure each instance has a unique uuid.
We copied AMIs in AWS to create multiple Logstash instances and all of the instances had the same uuid which confused the X-Pack monitoring server.

Change the uuid of a Logstash server:

  1. $ sudo -i
  2. # uuidgen > /var/lib/logstash/uuid
  3. # tr -d "\n\r" < /var/lib/logstash/uuid > tempo ; mv tempo /var/lib/logstash/uuid
  4. # service logstash restart

Enjoy.

1 Like

This is a nice trick. One alternative would be to remove the uuid file before creating the AMI. That way each Logstash instance will automatically create the file with a unique UUID upon start up.

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.