You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::ECS::Types::FirelensConfiguration

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing FirelensConfiguration as input to an Aws::Client method, you can use a vanilla Hash:

{
  type: "fluentd", # required, accepts fluentd, fluentbit
  options: {
    "String" => "String",
  },
}

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.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#optionsHash<String,String>

The options to use when configuring the log router. This field is optional and can be used 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"}`.

Returns:

  • (Hash<String,String>)

    The options to use when configuring the log router.

#typeString

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

Possible values:

  • fluentd
  • fluentbit

Returns:

  • (String)

    The log router to use.