Skip to main content

AWS FireLens

To integrate with AWS FireLens, you can configure your ECS containers to route logs to Moogsoft Enterprise.

See the AWS FireLens documentation documentation for details on custom log routing.

Before you begin

Before you start to set up your AWS FireLens integration, ensure you have met the following requirements:

  • You have an active AWS account.

  • You have the necessary permissions to create a Task Definitions in ECS.

  • AWS can make requests to external endpoints over port 443. This is the default.

Configure the AWS FireLens integration

To configure the AWS FireLens integration:

  1. Navigate to the Integrations tab.

  2. Click AWS FireLens in the Monitoring section.

  3. Provide a unique integration name. You can use the default name or customize the name according to your needs.

  4. Set a Basic Authentication username and password.

Configure AWS FireLens

For ECS tasks you want to route logs for, use the following logConfiguration.

"logConfiguration": 
{
    "logDriver": "awsfirelens",
    "secretOptions": null,
    "options": 
    {
        "tls.verify": "on",
        "Format": "json",
        "Port": "443",
        "Host": "<moog-inline-element data-ref="webhost"></moog-inline-element>",
        "tls": "on",
        "URI": "<moog-inline-element data-ref="uri"></moog-inline-element>",
        "Name": "http",
        "Header": "Authorization <moog-inline-element data-ref="auth"></moog-inline-element>"
    }
}

After you run your tasks, AWS FireLens routes logs to Moogsoft Enterprise.