Documentation Index
Fetch the complete documentation index at: https://mezmo-9a59581a-mintlify-926f893d.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Description
You can export your log data directly to Mezmo with the OpenTelemetry Exporter. If you are already using OpenTelemetry Collector, you can start sending log data by adding the Mezmo Exporter to your existing Pipelines. If you are new to OTEL, you can use this quick start example to get you up and running.Example OpenTelemetry Exporter Setup
- Download the appropriate OTEL collector for your environment from the OpenTelemetry website.
- Create a new pipeline in Mezmo.
- Add an OpenTelemetry Logs Source node. Note the Pipeline URL and access key.
- Add an OpenTelemetry Metrics Source node. Note the Pipeline URL and access key.
- Add an OpenTelemetry Traces Source node. Note the Pipeline URL and access key.
- Create a configuration file
config.yamlwith these contents:
The endpoints in the exporters config must exactly match the URL provided by the OpenTelemetry Metrics / Logs / Traces sources, You don’t need to specify the/v1/metrics/v1/logs/v1/tracespaths, which will otherwise be ignored by the Sources.
- Start the Collector with this command:
./otelcol-contrib --config /path/to/config.yaml - The Collector will start sending logs, metrics and traces to your Pipeline.
For complete information on setting up and configuring the OpenTelemetry Collector, visit https://opentelemetry.io/docs/collector/configuration
Installing the Collector via a Helm Chart
You can install the OpenTelemetry collector directly in a Kubernetes cluster using a Helm chart. If you don’t have the OpenTelemetry repo added to your Helm list, you must add it first..yamlconfiguration. You may also provide a configuration of your own like the one above.
To utilize this chart, create a Splunk HEC Source, and note the Endpoint and Token. As shown in this command, replace <YOUR PIPELINE INGEST ID HERE> with the ID portion of endpoint (the part that follows /v1/ ). Replace <YOUR TOKEN HERE> with your provisioned token.