good afternoon guys my english is not very good but I’ll try to explain
myself I made a server ubuntu 20.04 for testing with elasticsearch and when trying to install auditbeat on the client machine to collect logs, is presenting this connection error refused by the elastic server
root@ubuntu-teste-elastic-Nginx:~# auditbeat setup Exiting: couldn't connect to any of the configured Elasticsearch hosts. Errors: [error connecting to Elasticsearch at https://18.104.22.168:9200: Get "https://22.214.171.124:9200": dial tcp 126.96.36.199:9200: connect: connection refused];
I have already followed this tutorial here
but it didn’t work out if anyone can help me, I would be very grateful
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Click below to sign up and get $200 of credit to try our products over 60 days!
It seems you are trying to connect to your own Droplet. Try to see if elasticsearch is working properly first;
Do you see anything, you should receive a similar response:
if that’s okay you might need to try and reinstall auditbeat. You can follow this article on how to do it: