日志组和日志流名称问题AWS胶
我的帐户中有一个胶水作业,并且多次运行它,并且相应的日志在云手表中的AWS/ AWSGLUE/日志流中可用。但是还有其他开发人员还在开发胶水作业,这使我很难区分多个日志名称。由于日志名称在CloudWatch日志中没有用户友好的名称。有没有一种方法可以重命名与我的AWS胶水相关的日志?
I have a glue job that is developed in my account and i had ran it multiple times and corresponding logs are available in aws/awsglue/ log streams in cloud watch . But there are other developers also developing glue jobs, which makes me very hard to differentiate between the multiple logs names . as log names doesnt have a user friendly name in cloudwatch logs. is there a way to rename the logs related to my aws glue job ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
OP可能有点晚了,但希望对他人有帮助...
您可以通过在
高级属性下检查
连续记录
来启用记录作业详细信息的部分
在AWS控制台中用于胶水作业。要指定自定义日志流和日志组,您可以使用
- 连续loggroup
和- 连续log-logstreamprefix
job参数。这些是您在
作业参数中指定的键值对
高级属性
下的部分。请参阅 document 有关更多详细信息。
May be a little late for OP, but hopefully helpful to others...
You can enable logging with default settings by checking the
Continuous logging
option under theAdvanced properties
section of theJob details
tab within the AWS Console for the Glue job.To specify custom log stream and log group, you can use the
--continuous-log-logGroup
and--continuous-log-logStreamPrefix
job parameters.These are key-value pairs you specify in the
Job parameters
section underAdvanced properties
.See documentation for more detailed information.