Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase buffer size for fluent bit - lines are too long, skipping file #226

Closed
msmith99 opened this issue Oct 27, 2021 · 5 comments
Closed
Milestone

Comments

@msmith99
Copy link

msmith99 commented Oct 27, 2021

Error message -

[input:tail:tail.0] file=/server.log requires a larger buffer size, lines are too long. Skipping file."

Root cause, is that the buffer size configured for fluent bit is too small, either this needs to be increased, or made configurable -

[INPUT]
Name tail
Path /home/logs/server/*.log
Db /tmp/ng.db
Db.sync Full
Tag nginx-log
Buffer_Chunk_Size 320KB
Buffer_Max_Size 520KB

@msmith99
Copy link
Author

This can be related to #30, which is an enhancement to expose the fluent bit config, which could them be used to increase the buffer size.

@msmith99 msmith99 changed the title Increase buffer size for fluentd - lines are too long, skipping file Increase buffer size for fluent bit - lines are too long, skipping file Oct 27, 2021
@kasia-kujawa kasia-kujawa added this to the v0.6 milestone Feb 15, 2022
@drozinpax8
Copy link

I'm getting the same error with application running on tomcat:

file=/usr/share/tomcat8/logs/app.log requires a larger buffer size, lines are too long. Skipping file.

Do we have a timeline to add this configuration?

@fgrelaud
Copy link

fgrelaud commented Jan 5, 2023

Hi,

do we have any news about this issue ?
we have same problem with nextcloud log.

file=/var/log/nextcloud/nextcloud.log requires a larger buffer size, lines are too long. Skipping file.

Regards,

@kasia-kujawa kasia-kujawa modified the milestones: v0.6, v0.7 Mar 23, 2023
@kasia-kujawa
Copy link
Contributor

Currently the only solution to change configuration for sidecar image is to built new sidecar image with custom configuration because configuration is copied into image, see these lines.

Existing configuration is here: https://github.com/SumoLogic/tailing-sidecar/tree/main/sidecar/conf
Building instruction for sidecar image can be found here: https://github.com/SumoLogic/tailing-sidecar/tree/7fd074684531f6816536f5f5ac29f721dacbc26e/sidecar#build-and-push-tailing-sidecar-to-docker-registry

and then to use custom sidecar image it is necessary to change helm chart configuration in values.yaml by modifying sidecar image, please see these lines.

@kasia-kujawa
Copy link
Contributor

I'm closing this issue, if you still observe the issue, please reopen it ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants