-
Notifications
You must be signed in to change notification settings - Fork 354
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
v1.11.x vs v1.12.x not reading files #273
Comments
Could you list up all v1.12.x versions you tried? |
Please see versions below, and I also updated the issue: |
I am having the same issue with v1.14.0-1.1. Again will not will not read updates to files it is monitoring. |
Ok, I think I found the issue. Has the pos file format changed between version 11 of fluentd and 12 and above? Prior to that version. Updating fluentd and pointing to the same pos file everything worked well with no issues, but once i updated to the 12+ it no longer works. This is a problem as i would like to do a rolling update of my fluentd and i cannot modify my pos file. Below is my pos file from version 1.11.5:
And here is my pos file from version 1.14.0
|
No, it's not changed, some bug fixes were made though (e.g.: remove nonexistent file entries on startup compaction). |
I got it, fluent/fluentd#3541 is the cause. |
fluent/fluentd#3541 was merged and shipped as v1.14.3 |
I have an issue with the exact same conf reading monitored files between docker fluentd v1.11.x and v1.12.x.
This is the conf:
I am currently using fluentd image fluent/fluentd:v1.11.5-1.0 and I tried all different versions of v1.12 (v1.12.0-1.0, v1.12.3-1.0, v1.12.4-1.0, v1.12.4-1.1 and v1.12-1, which was 1.12.4-1.1 at the time) to no avail.
When I turn on the logging for the newest versions, all I get is this:
The only time any changes to files are detected is on fluentd startup, after that no changes are detected and therefore nothing is shipped to elastic, but as soon as I switch back to the older version of fluentd everything starts working again and changes to monitored files are immediately picked up.
Is there something wrong with my conf that is causing the issue with the newer version of fluentd?
I also tried adding
follow_inodes true
but it made no difference.The text was updated successfully, but these errors were encountered: