Docs » Get started with the Splunk Distribution of the OpenTelemetry Collector » Components » Batch processor

Batch processor πŸ”—

The batch processor is an OpenTelemetry Collector component that batches and compresses spans, metrics, or logs based on size or time. Batching can help reduce the number of submission requests made by exporters, and help regulate the flow of telemetry from multiple or single receivers in a pipeline.

Get started πŸ”—

By default, the Splunk Distribution of OpenTelemetry Collector includes the batch processor in all the predefined pipelines when deployed in agent or gateway modes. See Collector deployment modes for more information.

To ensure that batching happens after data sampling and filtering, add the batch processor after the memory_limiter processor and other sampling processors.

Sample configurations πŸ”—

The Splunk Distribution of OpenTelemetry Collector adds the batch processor with the default configuration:

processors:
  batch:

The following example shows how to configure the batch processor to send batches after 5,000 spans, data points, or logs have been collected. The timeout setting works as a fallback condition in case the size condition isn’t met.

processors:
  batch/custom:
    send_batch_size: 5000
    timeout: 15s

Settings πŸ”—

The following table shows the configuration options for the batch processor:

Troubleshooting πŸ”—

If you are a Splunk Observability Cloud customer and are not able to see your data in Splunk Observability Cloud, you can get help in the following ways.

Available to Splunk Observability Cloud customers πŸ”—

Available to customers and free trial users πŸ”—

  • Ask a question and get answers through community support at Splunk Answers.

  • Join the Splunk #observability user group Slack channel to communicate with customers, partners, and Splunk employees worldwide. To join, see Chat groups in the Get Started with Splunk Community manual.

To learn about even more support options, see Splunk Customer Success.