You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an ECS container with the following tasks: an application, the OpenTelemetry Collector, and Fluent Bit. I'm facing an issue with the application logs, which are currently being recorded as stdout. Previously, I used Datadog, and the logs were pushed correctly. Now, I want to change the configuration so that the logs go to the OpenTelemetry Collector and from there to ClickHouse. However, it seems that the logs are not being passed to Fluent Bit. Could you help me identify any potential mistakes in the configuration? It looks like a problem with passing logs to fluentd itself, because nothing reaches the stdout output directly either. I'm using the 'latest' image. I tried also with debug image, but it didn't give any result in the logs.
Configuration
My fluent-bit.conf
[SERVICE]
Flush 5
Log_Level info
Daemon off
[INPUT]
Name forward
Listen 0.0.0.0
Port 24224
Buffer_Chunk_Size 1M
Buffer_Max_Size 10M
[FILTER]
Name parser
Match *
Key_Name log
Parser json
Reserve_Data True
[OUTPUT]
Name forward
Match *
Host localhost
Port 24284 (otel collector task)
[OUTPUT]
Name stdout
Match *
tried with
[INPUT]
Name dummy
Dummy {"message": "custom dummy"}
### Fluent Bit Log Output
October 17, 2024 at 16:26 (UTC+2:00)
[2024/10/17 14:26:18] [ info] [output:null:null.0] worker #0 started
fluent-bit
October 17, 2024 at 16:26 (UTC+2:00)
[2024/10/17 14:26:18] [ info] [output:forward:forward.1] worker #0 started
fluent-bit
October 17, 2024 at 16:26 (UTC+2:00)
[2024/10/17 14:26:18] [ info] [input:tcp:tcp.0] listening on 127.0.0.1:8877
fluent-bit
October 17, 2024 at 16:26 (UTC+2:00)
[2024/10/17 14:26:18] [ info] [input:forward:forward.1] listening on unix:///var/run/fluent.sock
fluent-bit
October 17, 2024 at 16:26 (UTC+2:00)
[2024/10/17 14:26:18] [ info] [input:forward:forward.2] listening on 127.0.0.1:24224
fluent-bit
October 17, 2024 at 16:26 (UTC+2:00)
[2024/10/17 14:26:18] [ info] [sp] stream processor started
fluent-bit
October 17, 2024 at 16:26 (UTC+2:00)
[2024/10/17 14:26:18] [ info] [output:forward:forward.1] worker #1 started
fluent-bit
October 17, 2024 at 16:26 (UTC+2:00)
[2024/10/17 14:26:18] [ info] [fluent bit] version=1.9.10, commit=eba89f4660, pid=1
fluent-bit
October 17, 2024 at 16:26 (UTC+2:00)
[2024/10/17 14:26:18] [ info] [storage] version=1.4.0, type=memory-only, sync=normal, checksum=disabled, max_chunks_up=128
fluent-bit
October 17, 2024 at 16:26 (UTC+2:00)
[2024/10/17 14:26:18] [ info] [cmetrics] version=0.3.7
fluent-bit
October 17, 2024 at 16:26 (UTC+2:00)
* Copyright (C) 2015-2022 The Fluent Bit Authors
fluent-bit
October 17, 2024 at 16:26 (UTC+2:00)
* Fluent Bit is a CNCF sub-project under the umbrella of Fluentd
fluent-bit
October 17, 2024 at 16:26 (UTC+2:00)
* https://fluentbit.io
fluent-bit
October 17, 2024 at 16:26 (UTC+2:00)
Fluent Bit v1.9.10
fluent-bit
or
October 17, 2024 at 16:34 (UTC+2:00)
[2024/10/17 14:34:41] [ warn] [input:forward:forward.2] fd=66 incoming data exceed limit (6144000 bytes)
fluent-bit
October 17, 2024 at 16:34 (UTC+2:00)
[2024/10/17 14:34:41] [error] [output:forward:forward.1] cannot get ack
fluent-bit
October 17, 2024 at 16:34 (UTC+2:00)
[2024/10/17 14:34:41] [ warn] [engine] failed to flush chunk '1-1729175681.8912538.flb', retry in 8 seconds: task_id=0, input=forward.2 > output=forward.1 (out_id=1)```
currently, i see in logs
October 17, 2024 at 16:34 (UTC+2:00)
[2024/10/17 14:34:41] [ warn] [input:forward:forward.2] fd=66 incoming data exceed limit (6144000 bytes)
fluent-bit
October 17, 2024 at 16:34 (UTC+2:00)
[2024/10/17 14:34:41] [error] [output:forward:forward.1] cannot get ack
fluent-bit
October 17, 2024 at 16:34 (UTC+2:00)
[2024/10/17 14:34:41] [ warn] [engine] failed to flush chunk '1-1729175681.8912538.flb', retry in 8 seconds: task_id=0, input=forward.2 > output=forward.1 (out_id=1)```
The text was updated successfully, but these errors were encountered:
I have an ECS container with the following tasks: an application, the OpenTelemetry Collector, and Fluent Bit. I'm facing an issue with the application logs, which are currently being recorded as stdout. Previously, I used Datadog, and the logs were pushed correctly. Now, I want to change the configuration so that the logs go to the OpenTelemetry Collector and from there to ClickHouse. However, it seems that the logs are not being passed to Fluent Bit. Could you help me identify any potential mistakes in the configuration? It looks like a problem with passing logs to fluentd itself, because nothing reaches the stdout output directly either. I'm using the 'latest' image. I tried also with debug image, but it didn't give any result in the logs.
Configuration
tried with
and it's worked
My otel config
and my task definition
or
The text was updated successfully, but these errors were encountered: