Create a dashboard and add a visualization
A Grafana dashboard is a set of one or more panels, organized and arranged into one or more rows, that provide an at-a-glance view of related information. These panels are created using components that query and transform raw data from a data source into visualizations.
A data source can be an SQL database, Grafana Loki, Grafana Mimir, or an API endpoint. It can even be a basic CSV file. Data source plugins take a query you want answered, retrieve the data from the data source, and reconcile the differences between the data model of the data source and the data model of Grafana dashboards.
To create a dashboard and add a visualization, complete the following steps:
Sign in to Grafana Cloud
Sign in to your Grafana Cloud environment (for example,
mystack.grafana.net).Click Dashboards in the main menu.
Click New and select New Dashboard.
Your new dashboard is ready for a panel.
If the connection setup page appears, click Skip to dashboard.
If the edit sidebar is shown, click Add to display the panel controls.
Add a panel, choose your Loki data source, and select the Logs visualization.
Click Add visualization or Panel to add a panel.
Click Edit visualization to open the panel editor.
Select your Loki data source in the Data source picker before continuing.
In the visualization picker, click Visualizations and select Logs.
Your panel uses the Logs visualization; confirm your Loki data source is selected before writing a LogQL query.
Did you know? The Logs visualization is designed specifically for displaying log data. It shows log lines with timestamps, labels, and the ability to expand individual entries for more detail.
In your next milestone, you’ll use the Query Builder to write a LogQL query that generates a visualization.
More to explore (optional)
At this point in your journey, you can explore the following paths: