-
Notifications
You must be signed in to change notification settings - Fork 183
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
Set Ignore_Older
to 24h
by default to prevent older logs from being ingested on install.
#664
Conversation
…ng ingested on install.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
@frankreno I doubt it will work(not working for me). To |
@avdhoot - we use a parser on our input plugin for container logs. Local testing showed this working but definitely worth another check. Can you share your configuration? Are you seeing older logs ingested for container logs or systemd/kubelet? |
Non working config:
Working config. To it work parser should extract time.
|
@frankreno in case you missed it. Result of above config. There is still some leak but it is manageable. |
Thank you @avdhoot - we will investigate and report back. In that search are you looking at all logs sent to the collector? You should exclude any logs from systemd because there is a known issue that we ingest old logs there. The |
To make things more clear. I have used config mentioned in #664 (comment). Currently we are not sending |
Description
Fixes #596.
Set
Ignore_Older
to24h
by default to prevent older logs from being ingested when collection is first installed. Relative times are supported. Tested using shorter time range (1m) and validated that the older logs are not ingested.fluent/fluent-bit#221
https://docs.fluentbit.io/manual/pipeline/inputs/tail#config
Note, this is not supported on
systemd
plugin so only updatingtail
plugin.Fill in your description here.
Testing performed