This product is not supported for your selected
Datadog site. (
).
このページは日本語には対応しておりません。随時翻訳に取り組んでいます。
翻訳に関してご質問やご意見ございましたら、
お気軽にご連絡ください。
Overview
BYOC (Bring Your Own Cloud) Logs consists of two main blocks:
- Observability Pipelines collects, processes, and routes logs.
- The BYOC Logs engine indexes, stores, and queries logs. Datadog distributes the engine as the
datadog/cloudprem Docker image.
The Observability Pipelines Worker and the BYOC Logs engine process log data in your environment. Datadog hosts the pipeline configuration UI and Log Explorer, and routes queries to the engine.
The BYOC Logs engine separates compute from object storage. You can scale ingestion, compaction, and search independently based on workload demand while keeping log data in your object storage.
Architecture components
Observability Pipelines
Observability Pipelines is the ingestion block for BYOC Logs. The Observability Pipelines Worker receives logs from Datadog Agents and other sources, applies the processing rules defined in your pipeline, and routes the processed logs to the BYOC Logs engine. You configure the pipeline in Datadog, and the Worker runs in your environment.
BYOC Logs engine
The BYOC Logs engine runs in your environment. In Kubernetes deployments, the datadog/cloudprem image runs with different roles:
- Indexers
- Receive processed logs from Observability Pipelines, create index files called splits, and write the splits to object storage.
- Compactors
- Read splits from object storage, merge them, and write the merged splits back. Compactors run on dedicated nodes to isolate merge work from indexing.
- Searchers
- Execute queries from Datadog, read index metadata through the metastore, and retrieve matching data from object storage.
- Metastore
- Provides access to index metadata, including the locations of splits in object storage. The metastore persists this metadata in PostgreSQL.
- Control plane
- Schedules indexing jobs called indexing pipelines on indexers.
- Janitor
- Performs maintenance tasks, applying retention policies, garbage collecting expired splits, and running delete query jobs.
Data stores
The engine uses two data stores in your environment:
- Object storage stores indexed log data as splits. Supported services include Amazon S3, Azure Blob Storage, Google Cloud Storage, and S3-compatible storage.
- PostgreSQL stores index metadata used by the metastore.
Data flow
Ingestion and compaction path
Logs remain in your environment throughout ingestion:
- Applications and other sources send logs to an Observability Pipelines Worker.
- The Worker processes the logs and routes them to the BYOC Logs engine.
- Indexers create splits in object storage and register their metadata through the metastore.
- Compactors asynchronously merge splits on dedicated nodes and write the merged splits back to object storage.
No log data leaves your environment during ingestion. Logs are stored exclusively in your own object storage.
Query path
When you search BYOC Logs data in Log Explorer, the query travels over a secure connection between Datadog and the BYOC Logs engine:
- The Datadog UI sends the search query to Datadog’s backend.
- Datadog forwards the query to the engine through a reverse connection or ingress.
- Searchers use metadata from PostgreSQL to retrieve matching data from object storage.
- The engine returns only the matching results to Datadog for display.
Only query results travel between your environment and Datadog. The full dataset remains in your object storage and is never transferred to Datadog.
Connection to Datadog UI
Connect the Datadog UI to the BYOC Logs engine in one of two ways:
Further reading