Set up Log Ingestion

이 제품은 선택한 Datadog 사이트에서 지원되지 않습니다. ().
이 페이지는 아직 한국어로 제공되지 않습니다. 번역 작업 중입니다.
현재 번역 프로젝트에 대한 질문이나 피드백이 있으신 경우 언제든지 연락주시기 바랍니다.

Overview

After installing and configuring BYOC (Bring Your Own Cloud) Logs, you need to set up log ingestion to start sending log data from your applications and infrastructure. BYOC Logs supports multiple ingestion methods to accommodate different architectures and requirements.

Supported log format

BYOC Logs accepts logs as JSON objects sent to the /api/v2/logs endpoint. Each request body must be a JSON array of log objects:

[
  {"message": "First log entry", "service": "my-app", "level": "info"},
  {"message": "Second log entry", "service": "my-app", "level": "error"}
]
NDJSON (newline-delimited JSON) is not supported. If your log source sends one JSON object per line without array wrapping, use Observability Pipelines to reformat the payload before sending to BYOC Logs.

Log ingestion methods

Choose the appropriate ingestion method based on your infrastructure and requirements:


Additional ingestion paths

Datadog Lambda Forwarder

The Datadog Lambda Forwarder can send AWS CloudWatch Logs to BYOC Logs by setting the DD_URL environment variable to your BYOC Logs endpoint:

DD_URL=<BYOC_LOGS_HOST>

The forwarder sends logs to https://<DD_URL>:443/api/v2/logs.

Note: API key validation (/api/v1/validate) is sent to Datadog SaaS (controlled by DD_API_URL), not to BYOC Logs. This means you need a valid Datadog API key even when forwarding to BYOC Logs.

OpenTelemetry

BYOC Logs can receive logs from OpenTelemetry collectors through Observability Pipelines. See Send OTel logs to BYOC Logs with Observability Pipelines for setup instructions.