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

Add Loki log collection service to the monitoring stack #617

Closed
tzach opened this issue Jun 5, 2019 · 9 comments · Fixed by #1142
Closed

Add Loki log collection service to the monitoring stack #617

tzach opened this issue Jun 5, 2019 · 9 comments · Fixed by #1142
Labels
enhancement New feature or request

Comments

@tzach
Copy link
Contributor

tzach commented Jun 5, 2019

Loki is a Prometheus-inspired logging service, which works well with Grafana. It is still very new but can be a simple, out of the box solution for log collection.

@tzach tzach added the enhancement New feature or request label Jun 5, 2019
@avikivity
Copy link
Member

Before loki (which is alpha), we should add support for ordinary rsyslog. This provides a central place for logs instead of having to go to each server for its logs. rsyslog is available on all distributions and is integrated with syslog.

@amnonh amnonh added this to the Monitoring 4.0 milestone Dec 11, 2019
@tzach
Copy link
Contributor Author

tzach commented Dec 19, 2019

Loki is now in GA, and provide good integration with Grafana.

@amnonh
Copy link
Collaborator

amnonh commented Oct 8, 2020

@tzach @avikivity @slivne I would like to try and integrate loki,
it uses an agent that runs on the host and can read form journalctl
can we try to integrate it and see the effect?

@avikivity
Copy link
Member

Why do people insist on agents?

Is there no way for loki to use the rsyslog protocol?

@amnonh
Copy link
Collaborator

amnonh commented Oct 8, 2020

Loki is a push-based server the agents push towards it.
I found an experimental adaptor for rsyslog that can push the logs into loki. It's un-official but we can give it a try.

@avikivity
Copy link
Member

Please do, and open an issue for them to interoperate with rsyslog.

@amnonh
Copy link
Collaborator

amnonh commented Oct 8, 2020

it's the other way around, Loki is the passive side here, it's up to rsyslog to be able to push to loki

@avikivity
Copy link
Member

No, rsyslog sends the data in its own format. Loki should listen on the rsyslog socket and accept it.

rsyslog is about 7,812 years old, you can't expect it to send data on the loki protocol.

@amnonh
Copy link
Collaborator

amnonh commented Oct 8, 2020

it has an extension mechanism to support different targets

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants