diff --git a/content/doc/administrate/log-management.md b/content/doc/administrate/log-management.md index 72389b521..63980ef74 100644 --- a/content/doc/administrate/log-management.md +++ b/content/doc/administrate/log-management.md @@ -128,11 +128,13 @@ clever drain create [--alias ] [--username ` and push logs to it. @@ -209,7 +211,7 @@ For more information, please refer to the [official documentation](https://www.e To create a [Datadog](https://docs.datadoghq.com/fr/api/latest/logs/#send-logs) drain, you just need to use: ```bash -clever drain create DatadogHTTP "https://http-intake.logs.datadoghq.com/v1/input/?ddsource=clevercloud&service=&hostname=" +clever drain create datadog "https://http-intake.logs.datadoghq.com/v1/input/?ddsource=clevercloud&service=&hostname=" ``` {{< callout type="warning" >}} @@ -221,7 +223,7 @@ Datadog has two zones, **EU** and **COM**. An account on one zone is not availab To create a [NewRelic](https://docs.newrelic.com/docs/logs/log-api/introduction-log-api/) drain, use: ```bash -clever drain create NewRelicHTTP "https://log-api.eu.newrelic.com/log/v1" --api-key "" +clever drain create newrelic "https://log-api.eu.newrelic.com/log/v1" --api-key "" ``` {{< callout type="warning" >}} @@ -232,7 +234,7 @@ NewRelic has two zones, **EU** and **US**. An account on one zone is not availab To export logs from an application or an add-on to [OVHcloud Logs Data Platform](https://help.ovhcloud.com/csm/en-ie-logs-data-platform-quick-start?id=kb_article_view&sysparm_article=KB0055819), use the following setup: -- A **TCP** drain log with `clever drain create TCPSyslog` +- A **TCP** drain log with `clever drain create ovh-tcp` - Your Logs Data Platform **host** with **port** `514` (SSL ports aren't supported for TCP drains) - The **write token** for your stream (provided on your Logs Data Platform console) @@ -243,7 +245,7 @@ On your terminal, use the following command: {{< tab >}}**Exporting logs from an application**: ```shell - clever drain create TCPSyslog tcp://:514 -app --sd-params="X-OVH-TOKEN=\"\"" + clever drain create ovh-tcp tcp://:514 -app --sd-params="X-OVH-TOKEN=\"\"" ``` Replace the following values: @@ -257,7 +259,7 @@ On your terminal, use the following command: {{< tab >}}**Exporting logs from an add-on**: ```shell - clever drain create TCPSyslog tcp://:514 -addon --sd-params="X-OVH-TOKEN=\"\"" + clever drain create ovh-tcp tcp://:514 -addon --sd-params="X-OVH-TOKEN=\"\"" ``` Replace the following values: diff --git a/content/doc/reference/cli.md b/content/doc/reference/cli.md index a52b055ca..4bcb9800c 100644 --- a/content/doc/reference/cli.md +++ b/content/doc/reference/cli.md @@ -1085,7 +1085,7 @@ clever drain create [options] **Arguments** ``` -drain-type No description available +drain-type Drain type (datadog, elasticsearch, newrelic, ovh-tcp, raw-http, syslog-tcp, syslog-udp) drain-url Drain URL ```