Ce produit n'est pas pris en charge par le site Datadog que vous avez sélectionné. ().
Cette page n'est pas encore disponible en français, sa traduction est en cours.
Si vous avez des questions ou des retours sur notre projet de traduction actuel, n'hésitez pas à nous contacter.
Disponible pour:

Logs | Metrics

Overview

Use Observability Pipelines’ HTTP Client destination to send logs to an HTTP client, such as a logging platform or SIEM.

Set up destination

Set up the HTTP Client destination and its environment variables when you set up a pipeline. The information below is configured in the pipelines UI.

Only enter the identifiers for the HTTP Client URI and, if applicable, username and password for basic authorization. Do not enter the actual values.
  1. Enter the identifier for your HTTP Client URI. If you leave it blank, the default is used.
  2. Select your authorization strategy (None, Basic, or Bearer). If you selected:
    • Basic:
      • Enter the identifier for your HTTP Client username. If you leave it blank, the default is used.
      • Enter the identifier for your HTTP Client password. If you leave it blank, the default is used.
    • Bearer:
      • Enter the identifier for your HTTP Client token. If you leave it blank, the default is used.
  3. JSON is the only available encoder.

Optional settings

Enable compression

Toggle the switch to Enable Compression. If enabled:

  1. GZIP is the only available compression algorithm.
  2. Select the compression level you want to use.

Enable TLS

Toggle the switch to enable TLS. If you enable TLS, the following certificate and key files are required:

  • Enter the identifier for your HTTP Client key pass. If you leave it blank, the default is used.
    • Note: Only enter the identifier for the key pass. Do not enter the actual key pass.
  • Server Certificate Path: The path to the certificate file that has been signed by your Certificate Authority (CA) root file in DER or PEM (X.509).
  • CA Certificate Path: The path to the certificate file that is your Certificate Authority (CA) root file in DER or PEM (X.509).
  • Private Key Path: The path to the .key private key file that belongs to your Server Certificate Path in DER or PEM (PKCS#8) format.

Buffering options

Toggle the switch to enable Buffering Options.
Note: Buffering options is in Preview. Contact your account manager to request access.

  • If left disabled, the maximum size for buffering is 500 events.
  • If enabled:
    1. Select the buffer type you want to set (Memory or Disk).
    2. Enter the buffer size and select the unit.

Set secrets

These are the defaults used for secret identifiers and environment variables.

Note: If you enter identifiers for your secrets and then choose to use environment variables, the environment variable is the identifier entered and prepended with DD_OP. For example, if you entered PASSWORD_1 for a password identifier, the environment variable for that password is DD_OP_PASSWORD_1.

  • HTTP Client URI endpoint identifier:
    • The default identifier is DESTINATION_HTTP_CLIENT_URI.
  • HTTP Client TLS passphrase identifier (when TLS is enabled):
    • The default identifier is DESTINATION_HTTP_CLIENT_KEY_PASS.
  • If you are using basic authentication:
    • HTTP Client username identifier:
      • The default identifier is DESTINATION_HTTP_CLIENT_USERNAME.
    • HTTP Client password identifier:
      • The default identifier is DESTINATION_HTTP_CLIENT_PASSWORD.
  • If you are using bearer authentication:
    • HTTP Client bearer token identifier:
      • The default identifier is DESTINATION_HTTP_CLIENT_BEARER_TOKEN.
  • HTTP/S client URI endpoint:
    • The default environment variable is DD_OP_DESTINATION_HTTP_CLIENT_URI.
  • HTTP/S Client TLS passphrase (when enabled):
    • The default environment variable is DD_OP_DESTINATION_HTTP_CLIENT_KEY_PASS.
  • If you are using basic authentication:
    • HTTP/S endpoint authentication username and password.
    • The default environment variable is DD_OP_DESTINATION_HTTP_CLIENT_USERNAME and DD_OP_DESTINATION_HTTP_CLIENT_PASSWORD.
  • If you are using bearer authentication:
    • HTTP/S endpoint bearer token.
    • The default environment variable is DD_OP_DESTINATION_HTTP_CLIENT_BEARER_TOKEN.

How the destination works

Event batching

A batch of events is flushed when one of these conditions occurs. See event batching for more information.

Max EventsMax BytesTimeout (seconds)
1,0001,000,0001