日志组和日志流名称问题AWS胶

发布于 2025-01-25 05:02:49 字数 150 浏览 2 评论 0原文

我的帐户中有一个胶水作业,并且多次运行它,并且相应的日志在云手表中的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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

み零 2025-02-01 05:02:49

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 the Advanced properties section of the Job 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 under Advanced properties.

See documentation for more detailed information.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文