Leverage AWS FireLens to forward logs from Amazon ECS tasks to Axiom for efficient, real-time analysis and insights.
AWS FireLens is a log routing feature for Amazon ECS. It lets you use popular open-source logging projects Fluent Bit or Fluentd with Amazon ECS to route your logs to various AWS and partner monitoring solutions like Axiom without installing third-party agents on your tasks.
FireLens integrates with your Amazon ECS tasks and services seamlessly, so you can send logs from your containers to Axiom seamlessly.
To determine the best method to send data from different AWS services, see Send data from AWS to Axiom.
Here’s a basic configuration for using FireLens with Fluent Bit to forward logs to Axiom:
You’ll typically define this in a file called fluent-bit.conf
:
You’ll want to include this within your ECS task definition, and reference the FireLens configuration type and options:
Create the fluentd.conf
file and add your configuration:
The task definition would be similar to the Fluent Bit example, but using Fluentd and its configuration:
By efficiently routing logs with FireLens and analyzing them with Axiom, businesses and development teams can save on operational overheads and reduce time spent on troubleshooting.
Leverage AWS FireLens to forward logs from Amazon ECS tasks to Axiom for efficient, real-time analysis and insights.
AWS FireLens is a log routing feature for Amazon ECS. It lets you use popular open-source logging projects Fluent Bit or Fluentd with Amazon ECS to route your logs to various AWS and partner monitoring solutions like Axiom without installing third-party agents on your tasks.
FireLens integrates with your Amazon ECS tasks and services seamlessly, so you can send logs from your containers to Axiom seamlessly.
To determine the best method to send data from different AWS services, see Send data from AWS to Axiom.
Here’s a basic configuration for using FireLens with Fluent Bit to forward logs to Axiom:
You’ll typically define this in a file called fluent-bit.conf
:
You’ll want to include this within your ECS task definition, and reference the FireLens configuration type and options:
Create the fluentd.conf
file and add your configuration:
The task definition would be similar to the Fluent Bit example, but using Fluentd and its configuration:
By efficiently routing logs with FireLens and analyzing them with Axiom, businesses and development teams can save on operational overheads and reduce time spent on troubleshooting.