Replies: 1 comment
-
Hello, We are running into a similar situation, the /tmp/fluent/backup/ directory is written with tremendous amount of files and they are kept for ever. I'm trying to solve this phenomenon and this ticket seems to be relevant: 1856. As I currently understand, there is a retry mechanism to ingest data into Elasticsearch, but after an amount of retries Fluentd gives up and writes the data into the directory above instead. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Team,
We have deployed fluent-bit in EKS along with our application, which tails the logs and sends to fluentd(running on docker) which then writes to elasticsearch.
It works for some time but then all the logs are getting saved in below folder and nothing is written in elasticsearch /var/lib/docker/overlay2/5baca98c799dd930d1c277868518ca365/merged/tmp/fluent/backup/
We see the below errors in the logs -
2023-04-04 06:45:57 +0000 [warn]: #1 got unrecoverable error in primary and no secondary error_class=NoMethodError error="undefined method `emit_stream' for nil:NilClass\n\n router.emit_stream(emit_tag, e.retry_stream)\n ^^^^^^^^^^^^"
Below Fluentd docker details
Beta Was this translation helpful? Give feedback.
All reactions