Send Logs with OpenTelemetry

You can use OpenTelemetry to send your existing logs to Honeycomb via the OpenTelemetry Collector or straight from your application.

OpenTelemetry Collector

Use the OpenTelemetry Collector as a drop-in logging agent. With the OpenTelemetry Collector’s receivers, you can easily collect logs from a wide variety of sources, like Fluentd, NGINX, JournalD, syslog, and so on. The Collector can also easily scrape any custom log formats you are writing. Additionally, the Collector allows you to process the logs in transit to Honeycomb, which gives you the opportunity to transform attributes, adjust severities, and sample.

OpenTelemetry SDKs

Use an OpenTelemetry SDK to send logs to Honeycomb straight from your applications. Produce structured logs directly from your applications and correlate them with traces. For example, structured application logs from a logging framework in your application can be automatically correlated with any tracing you also add to your application.