Coralogix provides integration to collect and send your
ECS cluster logs straight to Coralogix.
Private Key – A unique ID that represents your company, this ID will be sent to your email once you sign up to Coralogix and can also be found under settings > send your logs.
Application Name – The name of your main application, for example, a company named “SuperData” would probably insert the “SuperData” string parameter or if they want to debug their test environment they might insert the “SuperData– Test”.
SubSystem Name – Your application probably has multiple subsystems, for example: Backend servers, Middleware, Frontend servers etc. in order to help you examine the data you need, inserting the subsystem parameter is vital.
Coralogix provides an integration both to
Fargate based clusters.
1. Create an
AWS ECS Task Definition from predefined file and pass your Coralogix private key as an environment variable(PRIVATE_KEY). Optionally you can pass your application name as APP_NAME.
AWS ECS Taskon your cluster:
Placement Template as
One Task Per Host:
When the task is ready, logs will start shipping to Coralogix.
- Create a new
AWS ECS Task Definitionor a
New revisionand enable
awsfirelenslogging driver for the container which you want to send the logs:
privatekey– your Coralogix private key
appname– your application name
subsystemname– your application subsystem
If you want to send just the log message itself without additional metadata:
Note: To manage multiline messages refer to this page.