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, and this page is available as Markdown at https://docs.us.ovhcloud.com/en/public-cloud/databases/set-up-logs-forwarding.md.
  • English

Databases & Analytics - How to set up logs forwarding

View as Markdown

Cloud Databases and Analytics allow you to send logs of your service to your own Logs Data Platform (LDP) data stream.

 

Requirements

  • Access to the OVHcloud Control Panel and OVHcloud API

  • A Cloud Database service up and running

    Info

    We will use Valkey as the example in this guide.

  • A Logs Data Platform account within this OVHcloud account with at least one destination stream configured

    Warning

    NOTE: If you are not familiar with all the LDP Stream configuration possibilities, create a new one with the default options (indexing and websocket enabled, long-term storage disabled) for this guide.

 

Instructions

Create your subscription

Via OVHcloud Control Panel
Via OVHcloud API

Logs direct access

From the OVHcloud Control Panel, navigate to your engine via the Public Cloud and Databases (or Data Analysis) menus.

Once there, click the Logs tab.

Manager database tab

 

Logs access through LDP

From the Logs tab, you can Subscribe to an LDP data stream. Once the subscription is enabled, all the logs will be pushed to Logs Data Platform to archive generated logs and perform advanced searches, and create alerts or visualizations.

For more information, please refer to our Quick Start for Logs Data Platform guide.

Manager database tab subscribe

 

Find logs in Graylog

To find logs of your service in your Graylog stream, you can use the following Graylog queries:

MongoDB®

Query: cluster: "<HostID>"

You can find this HostID in your manager:

  • In Login information switch the Service to mongodb
  • Now you can see the Host field with the format <HostID>.database.cloud.ovh.us

 

Other Engines

Query: clusterID: "<Engine>-<HostID>"

You can find this HostID in your manager:

  • Find the Cluster ID formatted as a UUID (AAAAAAAA-BBBB-CCCC-DDDDDDDDDDDD)
  • HostID is the first part of the UUID (AAAAAAAA)

 

Delete your subscription

Via OVHcloud Control Panel
Via OVHcloud API

Method 1: Unsubscribe

From the OVHcloud Control Panel, navigate to your engine and select the Logs tab.

Click Unsubscribe.

Manager database tab unsubscribe

 

Method 2: Cancel the database service

If you delete your database service, all subscriptions of this service are deleted automatically.

For instructions to cancel a Database or Analytics service, see our Databases & Analytics - FAQ guide.

 

Go further

Browse all the Databases guides.

Browse the rest of the OVHcloud US documentation for guides on our other products and services.

Learn more about Managed Databases on the OVHcloud US website.

If you need training or technical assistance to implement our solutions, contact your sales representative or click on this link to get a quote and ask our Professional Services experts for a custom analysis of your project.

OVHcloud Managed Databases and Analytics:

  • Grafana® is a registered trademark of Grafana Labs and is used with the permission of Grafana Labs. OVH SAS and its subsidiaries are not affiliated with or endorsed by Grafana Labs.
  • Kafka® is a registered trademark of The Apache Software Foundation and has been licensed for use by OVHcloud, who has no affiliation with and is not endorsed by The Apache Software Foundation.
  • MongoDB® is a registered trademark of MongoDB, Inc.
  • MySQL® is a registered trademark of Oracle and/or its affiliates.
  • PostgreSQL® is a registered trademark of the PostgreSQL Community Association of Canada.