将EMR日志发送到CloudWatch [英] Sending EMR Logs to CloudWatch

查看:68
本文介绍了将EMR日志发送到CloudWatch的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以将EMR日志发送到CloudWatch而不是S3.我们希望我们所有的服务日志都集中在一个位置.似乎您唯一能做的就是设置警报进行监视,但这不包括日志记录.

Is there a way to send EMR logs to CloudWatch instead of S3. We would like to have all our services logs in one location. Seems like the only thing you can do is set up alarms for monitoring but that doesn't cover logging.

https://docs.aws.amazon.com/emr/Latest/ManagementGuide/UsingEMR_ViewingMetrics.html

我是否必须在集群中的节点上安装CloudWatch代理 https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/AgentReference.html

Would I have to install CloudWatch agent on the nodes in the cluster https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/AgentReference.html

推荐答案

,您可以通过EMR的引导程序配置安装CloudWatch代理,并将其配置为监视日志目录.然后,它开始将日志推送到Amazon CloudWatch Logs

you can install the CloudWatch agent via EMR’s bootstrap configuration, and configure it to watch log directories. It then starts to push logs to Amazon CloudWatch Logs

这篇关于将EMR日志发送到CloudWatch的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆