Ingesting JSON Logs From Containers With the OpenTelemetry Collector
Blog post from Honeycomb
The text discusses the process of converting JSON logs from legacy systems into a format compatible with backend analysis systems like Honeycomb using the OpenTelemetry Collector's filelog receiver component. It explains how to parse JSON log lines using a Transform processor to convert them into Maps and attributes, highlighting the customization of severity fields through parsing. The text also introduces the use of filelog operators, such as the json_parser, which offer a more efficient and straightforward way to handle JSON processing by allowing operations like timestamp parsing and severity mapping. Furthermore, the ability to chain operators, such as regex_parser, enables complex parsing tasks like splitting host and port information. This approach is emphasized for its efficiency and readability, ultimately enhancing the usability of telemetry data in systems like Honeycomb.
| Trend | Post Mentions | Total Month Mentions | Posts | Companies | MoM |
|---|---|---|---|---|---|
| OpenTelemetry | 10 | 671 | 55 | 20 | +59% |
| Observability | 1 | 1,880 | 329 | 99 | -5% |
Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.