---
title: "Add logs to a dashboard | Grafana Labs"
description: "Learn how to save your log query to a dashboard panel for ongoing monitoring."
---

> For a curated documentation index, see [llms.txt](/llms.txt). For the complete documentation index, see [llms-full.txt](/llms-full.txt).

# Add logs to a dashboard

Once you’ve refined a useful log query, you can save it to a dashboard panel for ongoing monitoring. Dashboard log panels let you keep an eye on specific log patterns, share views with your team, and correlate logs with other metrics on the same dashboard.

In this milestone, you’ll add your Elasticsearch log query to a Grafana dashboard.

You’ll add the Explore query to a new or existing dashboard, then save it.

1. Open **Explore** with the **elasticsearch** data source selected.
2. In the **Lucene Query** field, enter a query worth monitoring, for example `level:error AND service:api`.
3. Click **Run query** and confirm the results look right before you add them to a dashboard.
4. In the Explore toolbar, click **Add**, select **Add to dashboard**, keep **New dashboard** selected, then click **Open dashboard**.
5. Click **Save** in the dashboard toolbar.
6. In the **Save dashboard** dialog, enter a title, choose a folder if needed, then click **Save**.

You added your Elasticsearch log query to a dashboard panel for ongoing monitoring.

In your final milestone, you’ll review what you’ve accomplished and explore next steps.

* * *

### More to explore (optional)

At this point in your journey, you can explore the following paths:

- [Build dashboards](/docs/grafana/latest/dashboards/build-dashboards/)
- [Logs panel](/docs/grafana/latest/panels-visualizations/visualizations/logs/)
