Sumo Logic Hosted Collector Destination
This product is not supported for your selected
Datadog site. (
).
Overview
Use Observability Pipelines’ Sumo Logic destination to send logs to your Sumo Logic Hosted Collector.
Setup
Configure the Sumo Logic destination when you set up a pipeline. You can set up a pipeline in the UI, using the API, or with Terraform. The steps in this section are configured in the UI.
For Secrets Management: Only enter the identifier for the endpoint URL. Do not enter the actual value.
If you enter secret identifiers and then choose to use environment variables, the environment variable is the identifier entered and prepended with DD_OP_. For example, if you entered PASSWORD_1 for a password identifier, the environment variable for that password is DD_OP_PASSWORD_1.
After you select the Sumo Logic destination in the pipeline UI, enter the identifier for your endpoint URL. If you leave it blank, the default is used.
Optional settings
- In the Encoding dropdown menu, select whether you want to encode your pipeline’s output in
JSON, Logfmt, or Raw text. If no decoding is selected, the decoding defaults to JSON. - Enter a source name to override the default
name value configured for your Sumo Logic collector’s source. - Enter a host name to override the default
host value configured for your Sumo Logic collector’s source. - Enter a category name to override the default
category value configured for your Sumo Logic collector’s source. - Click Add Header to add any custom header fields and values.
Buffering options
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 data to disk, ensuring buffered data persists through a Worker restart. See Destination buffers 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.
- In the Behavior on full buffer dropdown menu, select whether you want to block events or drop new events when the buffer is full.
Secret defaults
These are the defaults used for secret identifiers and environment variables.
- Sumo Logic HTTP Collector URL identifier:
- References the Sumo Logic HTTP Source endpoint. The Observability Pipelines Worker sends processed logs to this endpoint. For example,
https://<ENDPOINT>.collection.sumologic.com/receiver/v1/http/<UNIQUE_HTTP_COLLECTOR_CODE>, where:<ENDPOINT> is your Sumo collection endpoint.<UNIQUE_HTTP_COLLECTOR_CODE> is the string that follows the last forward slash (/) in the upload URL for the HTTP source.
- The default identifier is
DESTINATION_SUMO_LOGIC_HTTP_COLLECTOR_URL.
- Unique URL generated for the HTTP Logs and Metrics Source to receive log data.
- The Sumo Logic HTTP Source endpoint. The Observability Pipelines Worker sends processed logs to this endpoint. For example,
https://<ENDPOINT>.collection.sumologic.com/receiver/v1/http/<UNIQUE_HTTP_COLLECTOR_CODE>, where:<ENDPOINT> is your Sumo collection endpoint.<UNIQUE_HTTP_COLLECTOR_CODE> is the string that follows the last forward slash (/) in the upload URL for the HTTP source.
- The default environment variable is
DD_OP_DESTINATION_SUMO_LOGIC_HTTP_COLLECTOR_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.
| Maximum Events | Maximum Size (MB) | Timeout (seconds) |
|---|
| None | 10 | 1 |
Metrics
For component metrics and destination buffer metrics emitted by all destinations, see the Pipelines Usage Metrics documentation. To filter or group by Sumo Logic destination metrics, use the tag component_type:sumo_logic.