Structured Data in Honeycomb
Honeycomb refers to structured data as information that follows a predefined, standardized data model. Often this information takes the form of logs emitted by applications to log files other log handlers. For example, you may use a logging library that generates JSON-structured logs.Sending Structured Data to Honeycomb
If you’re ready to send your structured logs to Honeycomb, you can use any of the following options:- Honeycomb Telemetry Pipeline: Use the Honeycomb Telemetry Pipeline, which lets you standardize the entirety of telemetry operations on OpenTelemetry, whatever the format of existing logs, traces, and metrics.
- OpenTelemetry Collector: Use the OpenTelemetry Collector as a logging agent to send structured logs to Honeycomb.
- Libhoney: Use Honeycomb’s suite of structured logging libraries to create and send structured logs to Honeycomb’s Events API.
Enhancing Data in Honeycomb
Once your data is in Honeycomb, you will want to enhance it. For structured logs, you may want to:- Map your data to ensure Honeycomb’s log analytics visualizations are populated
- Transform your data to map source data severities to Honeycomb standard severities
- Add context to your spans by attaching metadata