-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
libbeat-logp: incorrect file naming using interval rotator #11365
Comments
I'm analyzing this one |
Maybe related #4569 @michalpristas on which operating system are you testing this? 1m:
1 hour
|
Hey @leopucci i'm using Ubuntu 18.04 |
Tested on Ubuntu 16.04.6 1m
Can you share the output of the command timedatectl? Maybe only happens with timezone enabled.. |
Local time: Po 2019-03-25 14:27:49 CET |
hey @leopucci it should be ok with |
timedatectl |
Caught something odd on centos... indeed there is a bug... related to the rotation i guess (#11364) Edit: Forget it... it used the file timestamp to rotate, maybe not wrong. |
Got it with 2m 2hours |
This issue happens because the interval log rotation was only available for fixed times 1h, 24h, 724h, 3024h, and 365*24h The pull request changes this behavior Point of attention for the seconds, |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue doesn't have a |
when interval rotator is used it decides on a name format in the following manner:
yyyy-dd-mm-hh-MM-ss
yyyy-dd-mm-hh-MM
yyyy-dd-mm-hh
funny thing happens when we use N-{seconds/minutes/hours}
For example we want to use 2h rotation:
What we see:
What we should see:
The text was updated successfully, but these errors were encountered: