-
Notifications
You must be signed in to change notification settings - Fork 151
page_counter indexes up when a time_file event is triggered #93
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
Comments
Yes, it currently increment the page on both I have started work on #4, which would allow dynamic prefix on the file. |
No worries, I can change it manually on my end; just wasn't certain this was expected behavior and as an observer it didn't appear to be the expected behavior according to the documentation. Thank you for updating this and I am very interested to see what you come up with for dynamic prefixing! |
Just to clarify this issue, this is the intended behavior every rotation will trigger a page increment. |
@ph That should be clarified in the documentation. We ran into some nasty issues here with scripts importing files from S3 because, based on the documentation, we thought the |
This is in regards to the logstash-output-s3-2.0.7
When dynamically creating dated subfolders in the s3 bucket (yyyy/mm/dd)
It would be observed that the size_file part# would increment when a time_file is triggered:
example with 10 minute time_file rotation s3 file names:
It appears the fix for this (on my end) is to change the "configure_periodic_rotation" function and replace "next_page" with "reset_page_counter"
The text was updated successfully, but these errors were encountered: