syslog receiver over TCP+TLS, TCP, or UDP, and the Collector relays them to Mezmo’s OpenTelemetry Source with the otlphttp exporter. The Collector’s syslog receiver accepts the Rsyslog default format, RFC 5424 and RFC 3164, for auto parsing.
Set Up the OpenTelemetry Collector
- Log in to the Mezmo Web App, create (or open) a Pipeline, and add an OpenTelemetry Source. Note the ingestion key — you’ll use it as
apikey. - Download the
otelcol-contribdistribution, which includes thesyslogreceiver, from the OpenTelemetry website. - Create a
config.yaml:
tls block to require TCP+TLS, or replace the tcp block with a udp block to accept UDP instead.
- Start the Collector:
Point Rsyslog at the Collector
Configure Rsyslog’s forwarding output (omfwd) to send to the host and port where the Collector’s syslog receiver is listening, instead of directly to Mezmo. For example, in /etc/rsyslog.d/22-mezmo.conf:
Tagging Hosts
Authentication now happens between the Collector and Mezmo, via theapikey header on the otlphttp exporter, rather than being embedded in each Syslog line. As a result, the legacy logdna@48950 STRUCTURED-DATA tagging format is no longer needed. To group or tag hosts, add a processor (such as an attributes or resource processor) to your Collector’s logs pipeline, and use fields the syslog receiver already extracts from RFC 5424/3164 messages, such as HOSTNAME and APP-NAME, to set attributes for grouping in Mezmo.
