Open praseodym opened 6 years ago
So it's been close to 5 years and beats input still does not seem to have proxy protocol support; documentation makes no mention of it. Can we get this, pretty please?
Hello did you find a solution of how to get the client IP if your logstash is behind a proxy?
without proxy and with this configuration of logstash, i got the ip of beats clients:
input { beats { port => "5000" } } filter { mutate { copy => {"[@metadata][ip_address]" => "[public_ip]"} } } output { stdout{} }
the problem is proxy_protocol is not exist in beats input :'( :'(
Currently logstash-input-beats does not support the PROXY protocol, which is useful to register the origin’s IP address when Logstash is running behind a proxy (e.g. HAProxy or Nginx).
There is a generic tracking issue for Logstash: https://github.com/elastic/logstash/issues/4418