Ce produit n'est pas pris en charge par le
site Datadog que vous avez sélectionné. (
).
Cette page n'est pas encore disponible en français, sa traduction est en cours.
Si vous avez des questions ou des retours sur notre projet de traduction actuel,
n'hésitez pas à nous contacter.
Use Observability Pipelines’ OpenSearch destination to send logs to OpenSearch.
Setup
Set up the OpenSearch destination and its environment variables when you set up a pipeline. The information below is configured in the pipelines UI.
Set up the destination
- Optionally, enter the name of the OpenSearch index. See template syntax if you want to route logs to different indexes based on specific fields in your logs.
- Optionally, toggle the switch to enable Buffering Options. Enable a configurable buffer on your destination to ensure intermittent latency or an outage at the destination doesn’t create immediate backpressure, and allow events to continue to be ingested from your source. Disk buffers can also increase pipeline durability by writing logs to disk, ensuring buffered logs persist through a Worker restart. See Configurable buffers for destinations for more information.
- If left unconfigured, your destination uses a memory buffer with a capacity of 500 events.
- To configure a buffer on your destination:
- Select the buffer type you want to set (Memory or Disk).
- Enter the buffer size and select the unit.
- Maximum memory buffer size is 128 GB.
- Maximum disk buffer size is 500 GB.
Set the environment variables
- OpenSearch authentication username:
- Stored in the environment variable
DD_OP_DESTINATION_OPENSEARCH_USERNAME.
- OpenSearch authentication password:
- Stored in the environment variable
DD_OP_DESTINATION_OPENSEARCH_PASSWORD.
- OpenSearch endpoint URL:
- Stored in the environment variable
DD_OP_DESTINATION_OPENSEARCH_ENDPOINT_URL.
How the destination works
Event batching
A batch of events is flushed when one of these parameters is met. See event batching for more information.
| Max Events | Max Bytes | Timeout (seconds) |
|---|
| None | 10,000,000 | 1 |