Sumo Logic Hosted Collector Destination
Use Observability Pipelines’ Sumo Logic destination to send logs to your Sumo Logic Hosted Collector.
Setup
Set up the Sumo Logic destination and its environment variables when you set up a pipeline. The information below is configured in the pipelines UI.
Set up the destination
The following fields are optional:
- 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.
Set the environment variables
- 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.
- Stored in the environment variable
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.
Max Events | Max Bytes | Timeout (seconds) |
---|
None | 10,000,000 | 1 |