Unstructured Data in Honeycomb
Honeycomb refers to unstructured data as information that does not follow a predefined data model. Often this information takes the form of logs emitted by applications to log files, but it can also include raw text or any kind of event data that has not been formatted into a structured format like JSON or key-value pairs. Some examples:- Raw log files: Traditional log files generated by systems or applications.
Example:
2024-10-15 12:00:00 ERROR Connection timeout while accessing database - Text-based application logs: Logs that contain text messages, but no clear structure or predefined format.
Example:
User login failed: username=admin, reason=invalid password - Freeform event data: Events that capture information in a narrative or free-form text.
Example:
Server xyz failed to respond due to high CPU usage - Error or debug messages: Messages output during application runtime, typically for debugging or error reporting, but without a structured schema.
Example:
Stacktrace: at main.py: line 23
Sending Unstructured Logs to Honeycomb
If you’re ready to transform your unstructured logs into structured logs, 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 along with the Filelog Receiver to parse unstructured logs and sending them to Honeycomb as structured logs.
- HoneyTail + RegEx: Ingest unstructured logs using custom regular expressions and Honeytail, our lightweight tool that will tail your existing log files, parse the content, and send it to Honeycomb.