Unable to setup HAproxy monitoring using Filebeat module

Hi all,

I'm trying to setup a good alarming and visualization on Kibana for my haproxy setup using ELK and Filebeat.

But everytime I use Filebeat in-built module for haproxy and goes to the step of setting up environment variables, it throws following error:

instance/beat.go:802 Exiting: 1 error: error loading config file

Need help configuring it!

Thanks in advance.

does error says something more? do you provide a config path?
maybe config is incorrectly written or has incorrect permissions

Hey @Michal_Pristas,
I passed all the steps in this doc https://www.elastic.co/guide/en/beats/filebeat/7.0/filebeat-module-haproxy.html

After setting up the initial variable, I got this message:
Loaded machine learning job configurations

Also I've made changes in haproxy.yml -> var.paths and var.input accordingly

Started filebeat. But still I'm not able to see data on kibana.

can you share a config? how is your output defined?
did the previous error go away? (instance/beat.go:802 Exiting: 1 error: error loading config file)

Hey @Michal_Pristas.
So the previous error went off. I initiated the entire setup from scratch and proceeded with normal setup.

So after few minutes I got all data visualized on Kibana.

Thanks for your help :slight_smile:

1 Like

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