-
Notifications
You must be signed in to change notification settings - Fork 456
Switch container logs input to /var/log/pod/* path #12500
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
Switch container logs input to /var/log/pod/* path #12500
Conversation
408e1e9
to
7fa7b6f
Compare
🚀 Benchmarks reportTo see the full report comment with |
eda4138
to
f728ca7
Compare
7fa7b6f
to
51bce46
Compare
b1f309d
to
b8d679d
Compare
|
💚 Build Succeeded
History
cc @pchila |
Hi! We just realized that we haven't looked into this PR in a while. We're sorry! We're labeling this issue as |
Hi! This PR has been stale for a while and we're going to close it as part of our cleanup procedure. We appreciate your contribution and would like to apologize if we have not been able to review it, due to the current heavy load of the team. Feel free to re-open this PR if you think it should stay open and is worth rebasing. Thank you for your contribution! |
Proposed commit message
This PR changes the input definition for ingesting k8s container logs from /var/log/containers/* to /var/log/pods/* which contains all available logs (including rotated ones) for pods running on the k8s node.
Before this change the integration would configure the elastic-agent input using the currently running container id and locating the corresponding log file under /var/log/containers/* which would point to the current log file, ignoring previously rotated log files for the container.
Checklist
changelog.yml
file.Author's Checklist
How to test this PR locally
Related issues
Screenshots