-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Option to disable time portion of the path with out_file output #1407
Comments
@tagomoris How about this? In v0.14, we can remove time slice with like below:
But default |
As a quick hack, this configuration seems to work as expected (write all matched events into a file without time in path):
It looks very hacky, but it might be better to add configuration parameter in |
Hi @tagomoris, Thanks, this hint works. Looks hacky agree, but it works so who cares :). Is there any documentation on this style of buffer config? I can't seems to find one... |
Unfortunately, these documentations are not written yet. I'll use this month for documentation tasks... |
That's ok. I've found few bits here and there so have everything I need. Thanks for your help! |
Added to the document about |
Hi,
Currently out_file will always append time to file name. It would be good to have an option to disable that so it'll always be writing to the same file. It's easier to find last log if it's path is not time sliced and it's easy to setup logrotate that will rotate the files in a more flexible way.
The text was updated successfully, but these errors were encountered: