Este producto no es compatible con el sitio Datadog seleccionado. ().
Disponible para:

Registros

Descripción general

Utilice la fuente HTTP/S Client de Observability Pipelines para extraer registros del servidor HTTP/S ascendente.

Requisitos previos

To use Observability Pipelines’ HTTP/S Client source, you need the following information available:

  1. The full path of the HTTP Server endpoint that the Observability Pipelines Worker collects log events from. For example, https://127.0.0.8/logs.
  2. The HTTP authentication token or password.

The HTTP/S Client source pulls data from your upstream HTTP server. Your HTTP server must support GET requests for the HTTP Client endpoint URL that you set as an environment variable when you install the Worker.

Configuración

Para la gestión de secretos: Ingrese solo los identificadores para la URL de punto de conexión del cliente HTTP/S y, si corresponde, los secretos de su estrategia de autorización y la contraseña de clave TLS. No ingrese los valores reales.

Configure esta fuente cuando configure una canalización. Puede configurar una canalización en la interfaz de usuario, utilizando la API o con Terraform. Las instrucciones de esta sección son para configurar la fuente en la interfaz de usuario.

Después de seleccionar la fuente HTTP/S Client en la interfaz de usuario de la canalización:

  1. Ingrese el identificador para su URL de punto de conexión del cliente HTTP/S. Si lo deja en blanco, se utiliza el predeterminado.
  2. Seleccione su estrategia de autorización. Si seleccionó:
    • Basic:
      • Ingrese el identificador para su nombre de usuario de cliente HTTP/S. Si lo deja en blanco, se utiliza el predeterminado.
      • Ingrese el identificador para su contraseña de cliente HTTP/S. Si lo deja en blanco, se utiliza el predeterminado.
    • Bearer: Ingrese el identificador para su token de portador. Si lo deja en blanco, se utiliza el predeterminado.
  3. Seleccione el decodificador que desea utilizar en los mensajes HTTP. Los registros extraídos de la fuente HTTP deben estar en este formato.
If you enter secret identifiers 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.

Configuración opcional

Habilitar TLS

Toggle the switch to Enable TLS.

  • If you are using Secrets Management, enter the identifier for the key pass. See Secret defaults for the default used if the field is left blank.
  • Enter the following certificate and key files:
    • Server Certificate Path: The path to the certificate file that has been signed by your Certificate Authority (CA) root file in DER, PEM, or CRT (X.509).
    • (Optional) CA Certificate Path: The path to the certificate file that is your Certificate Authority (CA) root file in DER, PEM, or CRT (X.509).
    • (Optional) Private Key Path: The path to the .key private key file that belongs to your Server Certificate Path in DER, PEM, or CRT (PKCS #8) format.
    • Notes:
      • The configuration data directory /var/lib/observability-pipelines-worker/config/ is automatically appended to the file paths. See Advanced Worker Configurations for more information.
      • The file must be readable by the observability-pipelines-worker group and user.

Configuración de raspado

  • Ingrese el intervalo entre raspados.
    • Su servidor HTTP debe ser capaz de manejar solicitudes GET en este intervalo.
    • Dado que las solicitudes se ejecutan simultáneamente, si un raspado tarda más que el intervalo dado, se inicia un nuevo raspado, lo que puede consumir recursos adicionales. Establezca el tiempo de espera en un valor inferior al intervalo de raspado para evitar que esto suceda.
  • Ingrese el tiempo de espera para cada solicitud de raspado.

Valores predeterminados de Secret

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

  • Identificador de URL de punto de conexión del cliente HTTP/S:
    • Hace referencia al punto de conexión desde el cual Observability Pipelines Worker recopila eventos de registro.
    • El identificador predeterminado es SOURCE_HTTP_CLIENT_ENDPOINT_URL.
  • Identificador de frase de contraseña TLS del cliente HTTP/S (cuando TLS está habilitado):
    • El identificador predeterminado es SOURCE_HTTP_CLIENT_KEY_PASS.
  • Si utiliza autenticación básica:
    • Identificador de nombre de usuario del cliente HTTP/S:
      • El identificador predeterminado es SOURCE_HTTP_CLIENT_USERNAME.
    • Identificador de contraseña del cliente HTTP/S:
      • El identificador predeterminado es SOURCE_HTTP_CLIENT_PASSWORD.
  • Si utiliza autenticación de portador:
    • Identificador de token de portador del cliente HTTP/S:
      • El identificador predeterminado es SOURCE_HTTP_CLIENT_BEARER_TOKEN.
  • HTTP/S endpoint URL:
    • The Observability Pipelines Worker collects log events from this endpoint. For example, https://127.0.0.8/logs.
    • The default environment variable is DD_OP_SOURCE_HTTP_CLIENT_ENDPOINT_URL.
  • HTTP/S Client TLS passphrase (when enabled):
    • The default environment variable is DD_OP_SOURCE_HTTP_CLIENT_KEY_PASS.
  • If you are using basic authentication:
    • HTTP/S endpoint authentication username and password.
    • The default environment variable is DD_OP_SOURCE_HTTP_CLIENT_USERNAME and DD_OP_SOURCE_HTTP_CLIENT_PASSWORD.
  • If you are using bearer authentication:
    • HTTP/S endpoint bearer token.
    • The default environment variable is DD_OP_SOURCE_HTTP_CLIENT_BEARER_TOKEN.