ECS FluentBit container is failed to start

0

I am using Firelens to stream logs to cloudwatch. The fluentbit container is failing to start.

AWS for Fluent Bit Container Image Version 2.28.4
Fluent Bit v1.9.9
* Copyright (C) 2015-2022 The Fluent Bit Authors
* Fluent Bit is a CNCF sub-project under the umbrella of Fluentd
* https://fluentbit.io
[2022/12/02 05:06:48] [error] [config] error in /fluent-bit/etc/fluent-bit.conf:32: key has an empty value
[2022/12/02 05:06:48] [error] configuration file contains errors, aborting.

I didn't make any change to this file "/fluent-bit/etc/fluent-bit.conf" . I tried in both ecs & fargate launch type and both custom & aws default conf. I tried in all the possibilities of the ECS & fluentbit combinations. Everywhere I am getting the same error. Please help me to resolve this.

ECS Agent Version: 1.66.2 Platform: Linux Tried in both intel & graviton still getting the same error.

1개 답변
0

If you want an easy way to get using FluentBit, which is amazing btw, take a look at using FireLens which would configure a lot of things for you right off the back.

What image did you use to have fluentbit?

If there are more things you'd want to do on top of firelens, you could use ECS Compose-X which has a built-in mechanism to help with FireLens & add more fluent bit extensions. See these example to get started.

profile picture
답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠