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

Utiliza la fuente del Datadog Agent de Observability Pipelines para recibir logs de tu Datadog Agent. Selecciona y configura esta fuente cuando configures un pipeline.

Requisitos previos

Ya tienes instalado el Datadog Agent para recopilar y dirigir tus logs a Datadog Log Management. Si no tienes Datadog Agents instalados, consulta la documentación del Datadog Agent para más información.

Dispones de la siguiente información:

Configurar la fuente en la interfaz de usuario del pipeline

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

  • 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) format.
  • CA Certificate Path: The path to the certificate file that is your Certificate Authority (CA) Root File in DER or PEM (X.509) format.
  • 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.

Note: All file paths are made relative to the configuration data directory, which is /var/lib/observability-pipelines-worker/config/ by default. See Advanced Configurations for more information. The file must be owned by the observability-pipelines-worker group and observability-pipelines-worker user, or at least readable by the group or user.

Conectar el Datadog Agent al worker de Observability Pipelines

Utiliza el archivo de configuración del Agent o el archivo de valores del Helm chart del Agent para conectar el Datadog Agent al worker de Observability Pipelines.

Para enviar logs del Datadog Agent al worker de Observability Pipelines, actualiza tu archivo de configuración del Agent con lo siguiente:

observability_pipelines_worker:
  logs:
    enabled: true
    url: "http://<OPW_HOST>:8282"

<OPW_HOST> es la dirección IP del host o la URL del equilibrador de carga asociado con el worker de Observability Pipelines.

Para las instalaciones de CloudFormation, utiliza la salida LoadBalancerDNS de CloudFormation para la URL.

Para las instalaciones de Kubernetes, puedes utilizar el registro DNS interno del worker del servicio Observability Pipelines. Por ejemplo: opw-observability-pipelines-worker.default.svc.cluster.local.

Después de reiniciar el Agent, tus datos de observabilidad deberían ir al worker, ser procesados por el pipeline y entregados a Datadog.

To send Datadog Agent logs to the Observability Pipelines Worker, update your Datadog Helm chart datadog-values.yaml with the following environment variables. See Agent Environment Variables for more information.

datadog:
  env:
    - name: DD_OBSERVABILITY_PIPELINES_WORKER_LOGS_ENABLED
      value: true
    - name: DD_OBSERVABILITY_PIPELINES_WORKER_LOGS_URL
      value: "http://<OPW_HOST>:8282"

<OPW_HOST> is the IP/URL of the host (or load balancer) associated with the Observability Pipelines Worker.

For Kubernetes installs, you can use the internal DNS record of the Observability Pipelines Worker service. For example: http://opw-observability-pipelines-worker.default.svc.cluster.local:<PORT>.