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

Prometheus Server Logs to Fluentd #4337

Closed
mumarniaz opened this Issue Jul 3, 2018 · 3 comments

Comments

Projects
None yet
3 participants
@mumarniaz
Copy link

mumarniaz commented Jul 3, 2018

Proposal

Currently, Prometheus server logs all logging information on std::out to console. Is there any configuration or feature in prometheus server to send these logs to fluentd directly? I have found this plugin: Fluentd logging driver which run as a daemon set and send all pods logs to fluentd instead of only Prometheus server log.

Use case. Why is this important?
It will be important in scenarios where someone want to place these logs on some centralize location and analyze those logs instead of getting it directly from Prometheus pod.

@simonpasquier

This comment has been minimized.

Copy link
Member

simonpasquier commented Jul 3, 2018

I don't feel that Prometheus needs to be modified to handle your use case. AFAIU it's up to you to setup your logging infrastructure to get the container logs and push them to your central location.

@krasi-georgiev

This comment has been minimized.

Copy link
Member

krasi-georgiev commented Jul 3, 2018

yeah logging is displayed to stdout/stderr be default and it is up to the systemd or the container orchestrator to redirect the logs to wherever you decide.

@mumarniaz this isn't something for us so I advise continuing on google search or other more relevant groups 👍

@lock

This comment has been minimized.

Copy link

lock bot commented Mar 22, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Mar 22, 2019

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.