Logicmonitor Exporter
contrib
Maintainers: @bogdandrutu, @khyatigandhi6, @avadhut123pisal
Source: opentelemetry-collector-contrib
Supported Telemetry
Overview
This exporter supports sending traces & logs to Logicmonitor.Configuration Options
The following configuration options are supported:endpoint (required): The target base URL to send data to (e.g.: https://<company_name>.logicmonitor.com/rest). For logs, “/log/ingest” path will be appended by default.api_token : API Token of Logicmonitor
Prerequisite
Below environment variable must be provided| Key | Value |
|---|---|
| LOGICMONITOR_ACCOUNT | Company name |
Example
Ingestion through API Token
Passaccess_id and access_key through config.yaml as shown in example ORSet the environment variables
LOGICMONITOR_ACCESS_ID and LOGICMONITOR_ACCESS_KEY
Ingestion through Bearer token
Pass bearer token as Authorization headers through config.yaml as shown in example OR Set the environment variableLOGICMONITOR_BEARER_TOKEN
Resource Mapping for Logs
As per the LogicMonitor’s Log Ingestion documentation, if more than one resource property exists, only the first property will be mapped. In case of OTLP logs, there can be multiple resource attributes and its order also cannot be guaranteed. Recently we have made the resource mapping for logs more flexible. With that, any of the resource attributes present in the log matches can be considered for resource mapping. But, this is not the default behaviour. In order to make the resource mapping flexible, you can configure theresource_mapping_op in the LogicMonitor’s exporter.
resource_mapping_op can be AND or OR. The values are case-insensitive.
Configuration
Example Configuration
Last generated: 2026-04-13