Logs Router with Firelens

logs_router_with_firelens

Overview

In this section, we’ll configure FireLens to route logs to different destinations, enabling us to accomplish tasks such as:

  • Log analysis.
  • Monitoring suspicious activities.
  • Tracking access levels.
  • Observing resource utilization.
  • And various other tasks.

These tasks may require additional tools, which is why routing logs to an external source becomes essential.

Here, we’ll configure FireLens within ECS to route logs from the frontend Service to an S3 Bucket and then check the results.

  1. Create an S3 Bucket
  2. Create an IAM Role for the Task
  3. Deploy the Service with a New Task Definition
  4. Verify the Results