Task Definition Log Configuration
The `LogConfiguration`
property specifies log configuration options to send to a custom log driver for the container.
Properties
The log driver to use for the container. For tasks on FARGATElong, the supported log drivers are `awslogs`
, `splunk`
, and `awsfirelens`
. For tasks hosted on Amazon EC2 instances, the supported log drivers are `awslogs`
, `fluentd`
, `gelf`
, `json-file`
, `journald`
, `syslog`
, `splunk`
, and `awsfirelens`
. For more information about using the `awslogs`
log driver, see Send Amazon ECS logs to CloudWatch in the Amazon Elastic Container Service Developer Guide. For more information about using the `awsfirelens`
log driver, see Send Amazon ECS logs to an service or Partner. If you have a custom driver that isn't listed, you can fork the Amazon ECS container agent project that's available on GitHub and customize it to work with that driver. We encourage you to submit pull requests for changes that you would like to have included. However, we don't currently provide support for running modified copies of this software.
The secrets to pass to the log configuration. For more information, see Specifying sensitive data in the Amazon Elastic Container Service Developer Guide.