Enable ECS logging

Enable ECS Elasticsearch logging for containers at the Tenant level

To generate logs for AWS ECS clusters, you must first create an Elasticsearch logging container. Once auditing is enabled, your container logging data can be captured for analysis.

Before you begin

Enable ECS Elastic Search Logging for a Tenant

  1. In the DuploCloud Portal, navigate to Administrator -> Tenant. The Tenant page displays.

  2. From the Name column, select the Tenant that is running the container for which you want to enable logging.

  3. Click the Settings tab.

  4. Click Add. The Add Tenant Feature pane displays.

  5. From the Select Feature list box, select Other. The Configuration field displays.

  6. In the Configuration field, enter Enable ECS ElasticSearch Logging.

  7. In the field below the Configuration field, enter True.

  8. Click Add. In the Settings tab, Enable ECS ElasticSearch Logging displays a Value of True.

Verifying ECS logging is enabled

You can verify that ECS logging is enabled for a specific container.

  1. In the DuploCloud Portal, navigate to Cloud Services -> ECS.

  2. In the Task Definitions tab, select the Task Definition Family Name in which your container is defined.

  3. Click the Task Definitions tab.

In the Container - 1 area, in the Container Other Config field, your LogConfiguration is displayed.

In the Container-2 area, another container is created by DuploCloud with the name log_router.

Last updated

Logo

© DuploCloud, Inc. All rights reserved. DuploCloud trademarks used herein are registered trademarks of DuploCloud and affiliates