Skip to content

/AWS1/CL_BTCFIRELENSCONF

The FireLens configuration for the container. This is used to specify and configure a log router for container logs. For more information, see Custom log routing in the Amazon Elastic Container Service Developer Guide.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_type TYPE /AWS1/BTCFIRELENSCONFTYPE /AWS1/BTCFIRELENSCONFTYPE

The log router to use. The valid values are fluentd or fluentbit.

Optional arguments:

it_options TYPE /AWS1/CL_BTCFIRELENSCONFOPTS00=>TT_FIRELENSCONFOPTIONSMAP TT_FIRELENSCONFOPTIONSMAP

The options to use when configuring the log router. This field is optional and can be used to specify a custom configuration file or to add additional metadata, such as the task, task definition, cluster, and container instance details to the log event. If specified, the syntax to use is "options":{"enable-ecs-log-metadata":"true|false","config-file-type:"s3|file","config-file-value":"arn:aws:s3:::mybucket/fluent.conf|filepath"}. For more information, see Creating a task definition that uses a FireLens configuration in the Amazon Elastic Container Service Developer Guide.


Queryable Attributes

type

The log router to use. The valid values are fluentd or fluentbit.

Accessible with the following methods

Method Description
GET_TYPE() Getter for TYPE, with configurable default
ASK_TYPE() Getter for TYPE w/ exceptions if field has no value
HAS_TYPE() Determine if TYPE has a value

options

The options to use when configuring the log router. This field is optional and can be used to specify a custom configuration file or to add additional metadata, such as the task, task definition, cluster, and container instance details to the log event. If specified, the syntax to use is "options":{"enable-ecs-log-metadata":"true|false","config-file-type:"s3|file","config-file-value":"arn:aws:s3:::mybucket/fluent.conf|filepath"}. For more information, see Creating a task definition that uses a FireLens configuration in the Amazon Elastic Container Service Developer Guide.

Accessible with the following methods

Method Description
GET_OPTIONS() Getter for OPTIONS, with configurable default
ASK_OPTIONS() Getter for OPTIONS w/ exceptions if field has no value
HAS_OPTIONS() Determine if OPTIONS has a value