For AI agents: the complete documentation index is available at https://docs.ovhcloud.com/en/llms.txt, the full documentation bundle is available at https://docs.ovhcloud.com/en/llms-full.txt, and this page is available as Markdown at https://docs.ovhcloud.com/en/guides/public-cloud/data-analytics/analytics/logs-to-customers.md.
Skip to content

Set up logs forwarding for Analytics

View as Markdown

Find out how to forward logs of your Analytics service to your Logs Data Platform data stream

Objective

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

This guide explains how to forward service logs to your own LDP stream from the OVHcloud Console or with the OVHcloud API.

Requirements

  • An Analytics service up and running
  • To use the API: access to the
  • A Logs Data Platform account within this OVHcloud account with at least one destination stream configured
    • If you are not familiar with all the LDP Stream configuration possibilities, simply create a new one with the default options (indexing & websocket enabled, long-term storage disabled) for the purpose of this guide.
  • A running Analytics service

OVHcloud Console Access

  • Direct link:
  • Navigation path: Public Cloud > Select your project > Analytics

Instructions

Create your subscription

OVHcloud Console
OVHcloud API

Go to your Analytics service and open the Observability tab. In the Logs section, click Manage streaming. If your service exposes several log kinds, first select the kind to forward in the list of the Logs section: the panel manages one log kind at a time.

In the Manage log streaming panel, under Subscribe to a stream, select your LDP account and the Stream of destination, then click Subscribe.

The subscription is listed under Current subscriptions and the logs start to be forwarded to your LDP stream. If your service exposes several log kinds, repeat the operation for each kind you want to forward.

Find logs in Graylog

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

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

You can find this HostID in the OVHcloud Console:

  • Find the Service ID (in the General information card of the Overview tab), formatted as a UUID (AAAAAAAA-BBBB-CCCC-DDDDDDDDDDDD)
  • HostID is the first part of the UUID (AAAAAAAA)

Delete subscription

OVHcloud Console
OVHcloud API

In the Observability tab of your service, click Manage streaming in the Logs section (if the service exposes several log kinds, select the kind first). Under Current subscriptions, click Unsubscribe on the row of the subscription, then Confirm.

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

We want your feedback!

We would love to help answer questions and appreciate any feedback you may have.

For training or technical assistance implementing our solutions, contact your sales representative or visit our Professional Services page to request a quote and have your project analysed by our experts.

Are you on Discord? Connect to our channel at https://discord.gg/ovhcloud and interact directly with the team that builds our Analytics service!

Join our community of users.

Was this page helpful?