# Implement proxy-protocol support for beats inputs

**URL:** <https://discuss.elastic.co/t/implement-proxy-protocol-support-for-beats-inputs/338561>\
**Category:** Logstash\
**Created:** [July 17, 2023, 1:14pm UTC](https://discuss.elastic.co/t/implement-proxy-protocol-support-for-beats-inputs/338561 "2023-07-17T13:14:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bilel\_meddeb](https://avatars.discourse-cdn.com/v4/letter/b/47e85d/32.png) [@bilel\_meddeb](https://discuss.elastic.co/u/bilel_meddeb)\
**Post date:** [July 17, 2023, 1:14pm UTC](https://discuss.elastic.co/t/implement-proxy-protocol-support-for-beats-inputs/338561/1 "2023-07-17T13:14:41Z")

</div>

Hello 👋🏽

Would it be possible to support **proxy-protocol** for beats inputs ?

I send logs from winlogbeat to logstash and i have Haproxy between them.

without proxy and with this configuration of logstash, i got the ip of beats clients (work good):

```auto
input {
   beats {
      port => "5000"
   }
}
filter {
   mutate {
      copy => {"[@metadata][ip_address]" => "[public_ip]"}
   }
}
output {
   stdout{}
}

```

but when i add the HAProxy, the public\_ip become the IP of the HAproxy. for that i need to add proxy\_protocol =\> true in the input beats.

the proxy\_protocol dose not exist in beats inputs

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [August 14, 2023, 1:15pm UTC](https://discuss.elastic.co/t/implement-proxy-protocol-support-for-beats-inputs/338561/2 "2023-08-14T13:15:38Z")

</div>

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