# Ha Proxy integration issues

**URL:** <https://discuss.elastic.co/t/ha-proxy-integration-issues/326785>\
**Category:** Elastic Agent\
**Tags:** elastic-stack-monitoring, filebeat\
**Created:** [March 1, 2023, 4:37pm UTC](https://discuss.elastic.co/t/ha-proxy-integration-issues/326785 "2023-03-01T16:37:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mistral](https://avatars.discourse-cdn.com/v4/letter/m/cdc98d/32.png) [@Mistral](https://discuss.elastic.co/u/Mistral)\
**Post date:** [March 1, 2023, 4:37pm UTC](https://discuss.elastic.co/t/ha-proxy-integration-issues/326785/1 "2023-03-01T16:37:15Z")

</div>

Hey,

I'm trying to make the HA Proxy integration working on my ELK stack. I'm able to gather the system metrics as expected, so I tried to add the HA Proxy integration on my hosts with HA proxy servers running.  
So what I've done basically on my haproxy.cfg was adding these line to gather the stats from TCP socket :

```auto
stats socket 127.0.0.1:14567

```

And configured rsyslog to redirect syslog messages from HA proxy to an open UDP port. Content of /etc/rsyslog.d/haproxy.conf

```auto
# Create an additional socket in haproxy's chroot in order to allow logging via
# /dev/log to chroot'ed HAProxy processes
$AddUnixListenSocket /var/lib/haproxy/dev/log

# Send HAProxy messages to a dedicated logfile
:programname,startswith,"haproxy" @127.0.0.1:9001

```

With all of these running with default integration settings :

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/9/2/921e4a1d3ccd03f28f86e89e813eaac12594cf09.png)

After all services restarted, I have some inputs regarding my HA proxy and visible on the dedicated dashboards. But it looks like I only have a half of them (like no downtime, no connection per server, etc) :

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/d/b/db29b09d96b74a8386567aa8bf6f91b80a3b4006.png)  
Also no results on the logs overview :  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/5/1/51c57637650e686809b9f881943bc238cf35dbae.png)

I tried to get deeper by modifying HA proxy.cfg and sending logs directly to 127.0.0.1:9001, testing out the different ports, etc

Has anyone managed to make the integration working ? Or would have an idea ?  
Thank you

---

<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:** [March 29, 2023, 4:38pm UTC](https://discuss.elastic.co/t/ha-proxy-integration-issues/326785/2 "2023-03-29T16:38:05Z")

</div>

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