Thank you for reading our post.
You can add rsyslog with an Alpine/Linux-based image, then add haproxy logging from ryslog to /dev/stdout. This way, whenever rsyslog adds HAproxy logs, it will go to stdout.
You can perform this on your own, or by modifying your Docker file. Alternatively, you could also use an image from the open-source community and configure accordingly.
Here is a helpful link for your reference: