{
"family": "atatus-aws-ecs-fargate-fluent-bit",
"containerDefinitions": [
{
"name": "log_router",
"image": "amazon/aws-for-fluent-bit:latest",
"cpu": 0,
"memoryReservation": 50,
"portMappings": [],
"essential": true,
"environment": [],
"mountPoints": [],
"volumesFrom": [],
"user": "0",
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-group": "/ecs/log-router",
"awslogs-region": "<YOUR_REGION>",
"awslogs-stream-prefix": "firelens"
}
},
"systemControls": [],
"firelensConfiguration": {
"type": "fluentbit",
"options": {
"enable-ecs-log-metadata": "true"
}
}
},
{
"name": "<YOUR_CONTAINER_NAME>",
"image": "<YOUR_APP_IMAGE>",
"memoryReservation": 100,
"essential": true,
"logConfiguration": {
"logDriver": "awsfirelens",
"options": {
"Name": "http",
"Host": "intake-logs.atatus.com",
"Port": "443",
"tls": "on",
"tls.verify": "off",
"URI": "/ingest/v1/logs",
"Format": "json_lines",
"Header": "x-atatus-ecs-awsfirelens <YOUR_ATATUS_LOGS_INGEST_LICENSE_KEY>:<YOUR_SERVICE_NAME>"
}
}
}
],
"executionRoleArn": "<YOUR_TASK_EXECUTION_ROLE>",
"taskRoleArn": "<YOUR_TASK_EXECUTION_ROLE>",
"networkMode": "awsvpc",
"requiresCompatibilities": ["FARGATE"],
"cpu": "256",
"memory": "512"
}