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

You already have the Datadog Agent installed to collect and route your logs to Datadog Log Management. If you do not have Datadog Agents set up, see the Datadog Agent documentation for more information.

You have the following information available:

Configurar la fuente en la interfaz de usuario del pipeline

There are no settings to configure in this step.

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: opw-observability-pipelines-worker.default.svc.cluster.local.

PREVIEWING: docs10694/historical-metric-clarification