Docs
Monitoring process, cpu e memory
https://www.linuxtechi.com/generate-cpu-memory-io-report-sar-command/ https://www.thegeekstuff.com/2011/03/sar-examples/ https://www.thegeekstuff.com/2014/11/pidstat-examples/ https://www.tecmint.com/sysstat-commands-to-monitor-linux/ https://promet.github.io/2009/06/tracing-memory-leaks-with-pidstat/
AWS cloudWatch custom log
https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/service_code_examples.html https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/ExtractBytesExample.html https://docs.aws.amazon.com/pt_br/AmazonCloudWatch/latest/logs/CWL_QuerySyntax.html
Apache2
https://linuxbeast.com/tutorials/aws/how-to-export-logs-from-apache2-web-server-to-amazon-cloudwatch/ https://aws.amazon.com/blogs/mt/simplifying-apache-server-logs-with-amazon-cloudwatch-logs-insights/