---
title: "Using Grafana with Logs Data Platform"
description: "Grafana provides a powerful and elegant way to create, explore, and share dashboards and data with your team and the world. Since release 7, Grafana can communi"
url: https://docs.us.ovhcloud.com/en/manage-and-operate/logs-data-platform/using-grafana-with-logs
lang: en
---
> For AI agents: the complete documentation index is available at https://docs.us.ovhcloud.com/en/llms.txt, the full documentation bundle is available at https://docs.us.ovhcloud.com/en/llms-full.txt.

# Using Grafana with Logs Data Platform

[Grafana](http://grafana.org/) provides a powerful and elegant way to create, explore, and share dashboards and data with your team and the world. Since release 7, Grafana can communicate with OpenSearch and so allows you to mix data from Logs Data Platform and other data sources like IoT in the same place. This guide will show you how to achieve this.

 

## Requirements

- the ability to send logs on a stream you own (see our [Quick Start for Logs Data Platform](https://docs.us.ovhcloud.com/en/manage-and-operate/logs-data-platform/getting-started.md) guide)
- access to port 9200 for your cluster (head to the **Home** page in [OVHcloud Control Panel](https://manager.us.ovhcloud.com/) to know the address of your cluster)

After some training you will be able to create this kind of dashboard:

 

## Instructions

### Select your Stream Alias

To access your logs from Grafana, you will need to set up an OpenSearch Alias and link them to your Graylog streams. From the [OVHcloud Control Panel](https://manager.us.ovhcloud.com/):

1. Click `Bare Metal Cloud` from the top navigation bar.
2. Select `Logs Data Platform` and your LDP account.

3. Choose the `Alias` tab.
4. Click on the `+ Add an alias` button
5. Choose a name and a description for your alias and click `Save`.

6. Once the alias has been created. Use the more options `...` button to the right and select `Attach content to the alias` option.

7. On the next screen, choose the Graylog streams you want to associate to your alias.

So here you go, now Logs Data Platform knows what stream you want to browse. Now let’s configure Grafana!

 

### Set up Grafana

Get the latest Grafana release [here](http://grafana.org/download/) (v11.1.0 at the time of writing). Then follow the [Grafana installation guide](http://docs.grafana.org/installation/) according to your platform.

 

### Launch it

If everything is set up properly, launch your favorite browser and point it to `http://localhost:3000`. Once logged in with your Grafana credentials, navigate to the **Data Sources** panel to set up your Logs Data Platform data source:

**Warning:**

**NOTE:** Please ensure you:

- Set the **URL** to `https://<your_cluster>.logs.ovh.com:9200`.
- Set **Basic auth** to ON.
- Set your **Basic Auth Details** as your Logs Data Platform credentials.

**Warning:**

**NOTE:** Please ensure that you...

- Set your **Index name** to the name of your LDP alias linked to Grafana.
- Set the **Time field name** to `timestamp`.
- Set the **Version** by clicking `Get Version and Save`.

Click `Save & test`. If your configuration is correct, it should display: "_Index OK. Time field name OK._"

To explore further, you can create a new dashboard and add different styles of visualizations.

If you want to know what you can do with Grafana and OpenSearch, read the [official documentation](https://grafana.com/grafana/plugins/grafana-opensearch-datasource/).

 

## Go further

Browse all the [Logs Data Platform guides](https://docs.us.ovhcloud.com/en/manage-and-operate/logs-data-platform/landing-page-logs-data-platform.md).

Browse the rest of the [OVHcloud US documentation](https://docs.us.ovhcloud.com/en/index.md) for guides on our other products and services.

Learn more about [Logs Data Platform](https://us.ovhcloud.com/identity-security-operations/logs-data-platform/) on the OVHcloud US website.
