Skip to content

Files

Latest commit

 

History

History

otlpjsonconnector

otlpjson Connector

Status
Distributions contrib, k8s
Issues Open issues Closed issues
Code Owners @djaglowski, @ChrsMark

Supported Pipeline Types

Exporter Pipeline Type Receiver Pipeline Type Stability Level
logs metrics alpha
logs traces alpha
logs logs alpha

Allows to extract otlpjson data from incoming Logs and specifically the Body field. The data is written in Protobuf JSON encoding using OpenTelemetry protocol.

Configuration

Configuration Example:

receivers:
  filelog:
    include:
      - /var/log/foo.log

exporters:
  debug:

connectors:
  otlpjson:

service:
  pipelines:
    logs/raw:
      receivers: [filelog]
      exporters: [otlpjson]
    metrics/otlp:
      receivers: [otlpjson]
      exporters: [debug]
    logs/otlp:
      receivers: [otlpjson]
      exporters: [debug]
    traces/otlp:
      receivers: [otlpjson]
      exporters: [debug]