---
title: How to manage data exports
description: Learn how to create, update, and delete Cockpit metrics and logs data exports
dates:
  validation: 2026-01-20
  posted: 2026-01-20
---
import Requirements from '@macros/iam/requirements.mdx'


This page shows you how to create, update, and delete Cockpit [data exports](/cockpit/concepts/#data-exports) from the Scaleway console.

<Requirements />

  - A Scaleway account logged into the [console](https://console.scaleway.com)
  - [Owner](/iam/concepts/#owner) status or [IAM permissions](/iam/concepts/#permission) allowing you to perform actions in the intended Project
  - Created [Scaleway products integrated into Cockpit](/cockpit/reference-content/cockpit-product-integration/)


<Message type="important">
 - Data exports only concern Scaleway metrics and logs, and only for [Scaleway products integrated into Cockpit](/cockpit/reference-content/cockpit-product-integration). Some products export metrics but do not generate logs.
 - Data collection begins only once the export is created. Any data collected beforehand will not be included in the export.
</Message>


## How to create a data export

1. Click **Cockpit** in the **Monitoring** section of the [console](https://console.scaleway.com/) side menu. The **Cockpit** overview page displays.
2. In the **Region** drop-down, select the region where your resources are located.
3. Click the **Data sources** tab.
4. Click the **Settings** icon of the Scaleway data source (metrics or logs), from which you want to export data. The data source's **Overview** tab displays.
5. Click **Create** under the **Data exports** section.
    <Message type="tip">
      If you have already created an export, navigate to your data source's **Settings** tab and click **Create export** in the dedicated section.
    </Message>
6. Choose an export destination, and configure it according to the destination type.

    <Tabs>
        <TabsTab label="Datadog">

            - Enter the URL of your Datadog site in the **URL** field. The default URL is `https://api.datadoghq.eu/` for metrics and `https://http-intake.logs.datadoghq.eu/` for logs.
            - Enter your Datadog API key in the **Datadog API Key** field.
       </TabsTab>

        <TabsTab label="Open Telemetry">

            - Enter your OpenTelemetry endpoint in the **URL** field.

            For OTLP destinations, enter your endpoint URL without a specific OTLP path such as `/v1/logs` or `/v1/metrics`. The exporter will automatically concatenate the correct path to your URL.

            You can also add headers to your OTLP export request:
    
            - Click **+ Add variable** 
            - Enter your header key in the **Key** field.
            - Enter your header value in the **Value** field.
            - Optionally, click **+ Add variable** to add more headers.
        </TabsTab>
    </Tabs>
7. In the **Products** drop-down, choose products whose metrics/logs you want to export.

    <Message type="note">
      - Only products that provide metrics/logs to Cockpit are eligible for export. Find out which products are eligible in the [dedicated documentation](/cockpit/reference-content/cockpit-product-integration).
      - Selecting **All current and future products** means that the export will concern all current Scaleway products sending metrics/logs to your Cockpit, and any future new products that send metrics/logs to your Cockpit will also automatically be exported.
    </Message>

8. In the **Data export details** section, enter a name for your data export, and optionally add a description.
9. Review your purchase summary and click **Create data export** to confirm.

Your export displays in your data source's **Settings** tab, under the **Data exports** section.

  <Message type="note">
   - The volume of exported data can vary over time, depending on your infrastructure and workload. For example, creating more Instances increases metrics, and busy Serverless Functions generate more logs.
   - Data exports are created at the **data source level**. If you want to export data from several regions or Projects, you must create one export per region/Project.
   - You can create multiple exports per data source if needed (e.g., sending data to different external tools).
   - During the beta period, export creation may take a few minutes (up to 30 minutes) to complete and start exporting data to your endpoint.
   - Scaleway products may send metrics at different intervals (1 or 5 minutes).
  </Message>

## How to update a data export

1. Click **Cockpit** in the **Monitoring** section of the [console](https://console.scaleway.com/) side menu. The **Cockpit** overview page displays.
2. Click the **Data sources** tab, then the Scaleway data source you want to edit the export of.
3. Click the **Settings** tab.
4. Click the <Icon name="seeMore" /> icon next to the data export you want to edit, then click **Edit**.
5. Edit your data export as necessary, then click **Edit data export** to confirm.

## How to delete a data export

1. Click **Cockpit** in the **Monitoring** section of the [console](https://console.scaleway.com/) side menu. The **Cockpit** overview page displays.
2. Click the **Data sources** tab, then the data source you want to delete the export of.
3. Click the **Settings** tab.
4. Click the <Icon name="delete" /> icon next to the data export you want to delete. A pop-up appears.
5. Type **DELETE** and click **Delete export** to confirm.

        <Message type="important">
        - Deleting an export stops forwarding data to the export destination.
        - Deletion may take a few minutes before the change becomes fully effective.
        </Message>

## How to monitor data exports

You can monitor your data exports in real time from your Cockpit Grafana dashboard.

To check whether a data export generates errors:

1. [Log in to Cockpit's Grafana](/cockpit/how-to/access-grafana-and-managed-dashboards/).
2. Click **Explore**.
3. Select your Cockpit metrics data source.
4. Run the following PromQL queries:

    For log exports, run: 
    ```promql
    sum(rate(observability_exporter_otelcol_exporter_send_failed_log_records_total[20m]))
    ```

    For metrics exports, run:

    ```promql
    sum(rate(observability_exporter_otelcol_exporter_send_failed_metric_points_total[20m]))
    ```

    A value greater than `0` means that Cockpit generated export send errors during the selected time range. These metrics count failed records or metric points, but do not include the error message returned by the destination endpoint.

You are **responsible for how your exported data is used** and for **any changes in resource volume**. Adding resources naturally increases the number of generated metrics and logs, and the exported volume may fluctuate even without manual action (for example, autoscaling creates additional resources, resulting in more data to export).
Find out how data exports are billed in the [dedicated documentation page](/cockpit/reference-content/cockpit-pricing/#billing-information-for-cockpit-data-exports).

## How to check the status of your data exports

The console displays status information about each data export to help you assess the health of your exports and whether or not you need to take any action.

1. Click **Cockpit** in the **Monitoring** section of the [console](https://console.scaleway.com/) side menu. The Cockpit overview page displays.
2. Click the **Data export** tab. The list of your data exports displays.
3. Hover over the status indicator next to your data export to check status. Here is what each status means:

    - **Creating**: The data export is being created.
    - **Ready**: The data export is up and running.
    - **Disabled**: No logs or metrics have been successfully transferred to the destination servers for at least 24 hours. Typical causes of a failed data transfer include an incorrect URL or a destination server error. 

    <Message type="tip">
        As a temporary workaround, re-enable the data export by editing and saving its configuration.
    </Message>

    - **Error**: The data export is failing. Common reasons are a server-side outage or an ongoing incident.