I have installed graylog 4.0 on server-1 and it running successfully. On the other hand, on server-2, I have a website deployed behind an nginx webserver. I want to collect all the logs of this website and send it to graylog on server-1.
- For this I have installed Filebeat on server-2.
- Made to changes to filebeat.yml - enabled logs and added ip of graylog(server-1)
Graylog is still not able to collect the logs.
Is there something wrong with my approach or might be a firewall issue?