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 syslog-ng 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 syslog-ng at the Collector
Configure syslog-ng’sdestination to send to the host and port where the Collector’s syslog receiver is listening, instead of directly to Mezmo.
syslog-ng TCP+TLS with Custom Port Settings
syslog-ng TCP with Custom Port Settings
syslog-ng UDP
Tagging Hosts
Authentication now happens between the Collector and Mezmo, via theapikey header on the otlphttp exporter, rather than being embedded in each syslog-ng 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.
