Visualize logs in a Grafana Cloud dashboard

Welcome to the Visualize logs in a Grafana Cloud dashboard learning journey.

Logs-based visualizations are a cornerstone of observability, providing a clear and actionable view of system performance. By transforming raw data into insightful visualizations, these dashboards enable you to quickly identify trends, detect anomalies, and make informed decisions to maintain system reliability and efficiency.

In this learning journey, you’ll explore how to create a logs dashboard that counts the number of error logs received for each time interval, empowering you to monitor and respond to performance changes effectively.

The visualization below shows the number of various HTTP status code received every 30 minutes.

Example logs visualization

Here’s what to expect

When you complete this journey, you’ll be able to:

  • Understand the importance of visualizations in the field of observability
  • Plan for your visualizations so that dashboards align with business objectives
  • Use the Grafana Query Builder to write a LogQL query
  • Build a dashboard that contains a logs aggregation visualization

Troubleshooting

If you get stuck, we’ve got your back! Where appropriate, troubleshooting information is just a click away.

More to explore

We understand you might want to explore other capabilities not strictly on this path. We’ll provide you opportunities where it makes sense.

Before you begin

Before you visualize logs in a Grafana Cloud dashboard, ensure that you have:

  • A Grafana Cloud account. To create an account, refer to Grafana Cloud.
  • A Grafana Cloud user who has permission to create a dashboard and add a visualization.
  • Basic familiarity with Grafana Loki.
  • Loki up and running and connected as a data source, whether it’s locally installed or using Grafana Cloud Logs, provided by Grafana Cloud.
  • Logs ingested into Loki using agents such as Grafana Alloy, OpenTelemetry Collector, or other third-party clients.
  • A familiarity with the type of logs you plan to visualize and what they represent. This understanding will help you use the Query Builder to write a query.
  • A familiarity with LogQL. For more information about LogQL, refer to LogQL: Log query language.
Related journeys

This journey expects logs to be available. If you don't yet have logs flowing intro Grafana Cloud, any of these related journeys will help you.

Monitor a Linux server in Grafana Cloud
Monitor a Linux server in Grafana Cloud
23 min
·
Beginner
·
Docs & blog posts
Monitor Kubernetes cluster infrastructure in Grafana Cloud
Monitor Kubernetes cluster infrastructure in Grafana Cloud
13 min
·
Beginner
·
Docs & blog posts
Are you ready?