Splunkhec Receiver
contrib
Maintainers: @atoulme
Source: opentelemetry-collector-contrib
Supported Telemetry
Overview
Configuration
The following settings are required:endpoint(default =localhost:8088): Address and port that the Splunk HEC receiver should bind to.
access_token_passthrough(default =false): Whether to preserve incoming access token (Splunkheader value) as"com.splunk.hec.access_token"metric resource label. Can be used in tandem with identical configuration option for Splunk HEC exporter to preserve datapoint origin.tls_settings(no default): This is an optional object used to specify if TLS should be used for incoming connections. Please consult configtls for the complete list of options available.cert_file: Specifies the certificate file to use for TLS connection. Note: Bothkey_fileandcert_fileare required for TLS connection.key_file: Specifies the key file to use for TLS connection. Note: Bothkey_fileandcert_fileare required for TLS connection.
raw_path(default = ‘/services/collector/raw’): The path accepting raw HEC events. Only applies when the receiver is used for logs.splittingdefines the splitting strategy used by the receiver when ingesting raw events. Can be set to “line” or “none”. Default is “line”.health_path(default = ‘/services/collector/health’): The path reporting health checks.hec_metadata_to_otel_attrs/source(default = ‘com.splunk.source’): Specifies the mapping of the source field to a specific unified model attribute.hec_metadata_to_otel_attrs/sourcetype(default = ‘com.splunk.sourcetype’): Specifies the mapping of the sourcetype field to a specific unified model attribute.hec_metadata_to_otel_attrs/index(default = ‘com.splunk.index’): Specifies the mapping of the index field to a specific unified model attribute.hec_metadata_to_otel_attrs/host(default = ‘host.name’): Specifies the mapping of the host field to a specific unified model attribute.ack(no default): defines the ackextension to use for acknowledging eventsextension(no default): Specifies the ack extension ID the receiver should use. If left blank, ack is disabled.path(default = ‘/services/collector/ack’): The path the ack extension will listen on for ack requests, if the extension is enabled.
Configuration
Example Configuration
Last generated: 2026-04-13