简体   繁体   English

如何在Elasticbeanstalk中通过AWS Cloudformation模板创建自定义日志并将其流式传输到Cloudwatch?

[英]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.

相关问题 适用于Elasticbeanstalk的AWS CloudWatch日志 - aws cloudwatch log for elasticbeanstalk 如何使用 cloudformation 模板创建 cloudwatch 事件? - How to create cloudwatch event using cloudformation template? AWS::ElasticBeanstalk::ConfigurationTemplate 的 AWS CloudFormation 模板失败 - AWS CloudFormation template for AWS::ElasticBeanstalk::ConfigurationTemplate is failing 如何使用 CloudFormation 为多个日志组创建 AWS CloudWatch 订阅过滤器 - How to create AWS CloudWatch Subscription Filters for multiple Log Groups using CloudFormation 如何使用 CloudFormation 创建具有集成 RDS 的 AWS Elasticbeanstalk 应用程序? - How to create AWS Elasticbeanstalk application with integrated RDS using CloudFormation? 如何使用单个cloudformation模板创建多个Elasticbeanstalk环境 - How to create multiple Elasticbeanstalk environments using a single cloudformation template 如何在 cloudFormation 模板中包含 cloudWatch Log Group 订阅? - How to include cloudWatch Log Group subscription in cloudFormation template? 如何通过 Cloudformation 模板为 AWS API GW 启用 Cloudwatch 日志记录 - How to enable Cloudwatch logging for AWS API GW via Cloudformation template 将现有 AWS CloudWatch 警报导出到 CloudFormation 模板 - Export existing AWS CloudWatch alarms to CloudFormation template 使用模式 AWS Cloudwatch 为每个文件创建单独的日志 stream - Create separate log stream for each file with pattern AWS Cloudwatch
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM