Forum Discussion
nginxpm
Employee
Hi,
Have you tried using snippets as described in https://docs.nginx.com/nginx-controller/app-delivery/about-snippets/ .
Please see the example "Forward Error Logs to Remote Syslog".
nirajbhatt
Mar 17, 2023Nimbostratus
Hi nginxpm ,
Thanks for your reply and apologies for late response. Actually I need to push NGINX Plus/WAF instance logs to cloudwatch as a metrics so that I can directly create dashboard and alarms on Cloudwatch rather than manually pushing those logs in cloudwatch.
Specifically I am looking to collect system metrics like system.disk.free or system.mem.available etc and push it to Cloudwatch.
Ultimately I need to create an alarm in cloudwatch that will send an alert based on disk and mem usage of any NGINX Plus instances of the Autoscaling group.