DEV Community

Ruan Bekker
Ruan Bekker

Posted on

 

Logging with Loki using Docker

Logging with Loki is awesome!

I’ve been using Grafana for metrics for quite some time, and having logs natively in Grafana was always the missing point.

And then grafana released Loki, which is like prometheus, but for logs. And that was just super, exactly what I was looking for.

For my use case, I was looking for something that can be consumed by grafana as a presentation layer, central based so I can push all sorts of logs, and want a easy way to grep for logs and a bonus would be to have a cli tool.

You can view my full detailed blogpost on this how I provision Grafana, Loki and Nginx with Docker and then we take a demo through the stack to view your docker logs inside Grafana.

Let me know what you think.

Top comments (0)

Regex for lazy developers

regex for lazy devs

You know who you are. Sorry for the callout 😆