Search

Create new Task Definitions

Command

TaskDefinitions JSON Update

JSON 편집기에서 아래의 값 넣어서 수정 해주기
예시본
"logConfiguration": { "logDriver": "awsfirelens", "options": { "log_group_name": "/wsi/webapp/product", "log_stream_prefix": "${ECS_TASK_ID}", "region": "ap-northeast-2", "auto_create_group": "true", "Name": "cloudwatch_logs" } }, "logConfiguration": { "logDriver": "awslogs", "options": { "awslogs-group": "/ecs/ecs-aws-firelens-sidecar-container", "mode": "non-blocking", "awslogs-create-group": "true", "max-buffer-size": "25m", "awslogs-region": "ap-northeast-2", "awslogs-stream-prefix": "task" } }, "firelensConfiguration": { "type": "fluentbit", "options": { "config-file-type": "file", "config-file-value": "/extra.conf", "enable-ecs-log-metadata": "true" } }
JSON
복사