'Running a Logstash Cluster behind AWS NLB

Need to have a logstash cluster in autoscaling group behind a AWS NLB ; We have multiple pipelines in logstash serving multiple sources ; What is the best way to configure healthcheck for the logstash targets from AWS NLB .

We want individual pipelines to be taken down as and when needed without impacting other pipelines.

Can we use Logstash API Port 9600 asa healthcheck port from AWSNLB ? How to configure since logstash API Port always binds to loopback ; Any security concerns ? Any other optimal way to achieve the same



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source