Skip to content

logs getting duplicated with foward as input #1375

@sonirahul

Description

@sonirahul

I am noticing a weird behavior with fluent bit with input mode as forward. The problem is whenever I send a log to fluent bit on forward mode it gets cumulated sort of like
log0
log0
log1
log0
log1
log2

i have a way to replicate the issue as well.

  1. docker run -p "24224:24224" fluent/fluent-bit:latest /fluent-bit/bin/fluent-bit -i forward -o stdout
  2. docker run -t -i --log-driver=fluentd --log-opt fluentd-address=my-ip:24224 ubuntu
  3. then enter this command multiple times "echo 'hi' >> /dev/null"
  4. you will notice that on the fluent bit logs the log for the command at 3 command are getting repeated the way i have mentioned at top. e.g. log0, log 0, log1, log0, log1, log2

I have seen the same issue when I hit the fluent bit using a java program using the fluentd-logger. I think its a bug. Any help on this would be helpful.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions