Skip to content
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

Support using the container standard output as input for the LogProxyConsumer #185

Closed
arturo-seijas opened this issue Jul 18, 2022 · 2 comments

Comments

@arturo-seijas
Copy link

Enhancement Proposal

Currently, log filenames need to be specified for the LogProxyConsumer to be able to scrap them. It would be nice to support gathering the logs from the containers' standard output, which would be beneficial in several ways:

  • No need to manage rotation of the logs files
  • Reduced risk of losing entries in case a container stops between the write and the scraping of the file
  • Logs could be queried without the logging infrastructure without additional tooling, just by using kubectl
  • It's the de facto standard
@jnsgruk
Copy link
Member

jnsgruk commented Jul 18, 2022

This will likely be very easy for us to support once pebble lands its new log forwarding feature :)

@simskij
Copy link
Member

simskij commented Aug 2, 2023

This is exactly what the Pebble Log Forwarding feature aims to solve. Closing this in favor of canonical/pebble#256

@simskij simskij closed this as completed Aug 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants