[英]How to create a custom log and stream it to cloudwatch through AWS Cloudformation template in elasticbeanstalk ?
我正在尝试使用elasticbeanstalk通过AWS Cloudformation模板流式传输AWS Cloudwatch中的自定义日志
I had a similar requirement a few years back. 几年前,我也有类似的要求。 In our case, we have deployed a tomcat application via ElasticBeanstalk with the use of a Cloudformation Template.
在我们的案例中,我们已经使用Cloudformation模板通过ElasticBeanstalk部署了一个tomcat应用程序。 Whenever there will be an ERROR log in the Catalina logs, the alert will be sent by Cloudwatch Alarm.
每当Catalina日志中出现错误日志时,Cloudwatch Alarm就会发送警报。 The Cloudwatch setup is done by ebextensions.
Cloudwatch设置由ebextensions完成。 For the implementation details, you can refer to the below link: https://www.linkedin.com/pulse/enable-alert-error-pattern-elasticbeanstalk-priyanka-sharma/
有关实现的详细信息,您可以参考以下链接: https : //www.linkedin.com/pulse/enable-alert-error-pattern-elasticbeanstalk-priyanka-sharma/
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.