AWS ECS task definitions should have a logging configuration

このページは日本語には対応しておりません。随時翻訳に取り組んでいます。翻訳に関してご質問やご意見ございましたら、お気軽にご連絡ください。

Description

This assessment examines whether the most recent active Amazon ECS task definition includes a specified logging configuration. The assessment will not pass if the task definition does not have the logConfiguration property defined or if the logDriver value is null in at least one container definition.

Logging plays a vital role in maintaining the reliability, availability, and performance of Amazon ECS. By collecting data from task definitions, you gain visibility that aids in debugging processes and identifying the source of errors. If you are using a logging solution that does not need to be explicitly defined in the ECS task definition (such as a third-party logging solution), you can safely disable this assessment after confirming that your logs are effectively captured and delivered.

Remediation

From the console

To define a log configuration for your Amazon ECS task definitions, see Specifying a log configuration in your task definition in the Amazon Elastic Container Service Developer Guide.