4

Looking at Logs with Grafana Loki

In this chapter, we will get hands-on experience with Grafana Loki. We will learn how to use LogQL, which is the language used for querying Loki, how to select and filter log streams, and how to use the operators and aggregations available. This will give you the tools to extract the data in appropriate ways for your dashboard visualizations and alerts. We will review the benefits and drawbacks of the log format and how it impacts your use of Loki. To fully explore the benefits of Loki, we will explore the architecture and where it can be scaled for performance. To finish, we will look at advanced areas of LogQL, such as labels and transformations, and other tips and tricks to expand your use of Loki.

We ...

Get Observability with Grafana now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.