OTLP exporter π
The OTLP exporter sends metrics, traces, and logs through gRPC using the OTLP format. See Process your data with pipelines for more information. The supported pipeline types are traces
, metrics
, and logs
. By default, this exporter requires TLS and provides queued retry capabilities.
Note
For information on the OTLP/HTTP exporter, see OTLP/HTTP exporter.
Get started π
The OTLP exporter is included in the Splunk Distribution of OpenTelemetry Collector default configuration in host monitoring (agent) mode for all data pipelines: metrics
, traces
, and logs
. Learn more in Collector default configuration and Collector deployment modes.
The following settings are required:
endpoint
. Address to which the exporter is going to send OTLP data, using the gRPC protocol.No default value.
gRPC supports DNS as the default name-system. To learn more about the valid name syntax, see gRCP Name Resolution in GitHub.
If youβre using a scheme of
https
, then client transport security is enabled and overrides theinsecure
setting.
tls
. See TLS Configuration Settings in this document for the full set of available options.By default,
tls: insecure
is set totrue
.Mutual TLS (mTLS) is also supported. See more at TLS/mTLS configuration in GitHub.
Sample configurations π
This is a sample configuration for the exporter:
exporters:
otlp:
endpoint: otelcol2:4317
tls:
cert_file: file.cert
key_file: file.key
otlp/2:
endpoint: otelcol2:4317
tls:
insecure: true
Configure gzip compression π
By default, gzip compression is enabled. To turn it off, use the following configuration:
exporters:
otlp:
...
compression: none
Settings π
The following table shows the configuration options for the OTLP exporter:
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
Submit a case in the Splunk Support Portal .
Call Splunk Customer Support .
Available to prospective 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 .