Logging
logging
Map
The logging section contains log configuration. You can also configure parameters for your container's FireLens log driver in this section (see examples here).
logging.retention
Integer
Optional. The number of days to retain the log events. See this page for all accepted values. If omitted, the default is 30.
logging.image
Map
Optional. The Fluent Bit image to use. Defaults to public.ecr.aws/aws-observability/aws-for-fluent-bit:stable
.
logging.destination
Map
Optional. The configuration options to send to the FireLens log driver.
logging.enableMetadata
Map
Optional. Whether to include ECS metadata in logs. Defaults to true
.
logging.secretOptions
Map
Optional. The secrets to pass to the log configuration.
logging.configFilePath
Map
Optional. The full config file path in your custom Fluent Bit image.
logging.env_file
String
The path to a file from the root of your workspace containing the environment variables to pass to the logging sidecar container. For more information about the environment variable file, see Considerations for specifying environment variable files.