I have an Ubuntu 20.04 server in AWS-Ec2 that should capture all new /var/log/nginx/access.log messages and send them to an API endpoint that sends to my MQTT in AW
/var/log/nginx/access.log