Guide: How to route Docker logs correctly in New Relic
Blog post from New Relic
The article explores the common issue faced by developers using Docker Compose with New Relic, where container logs are misdirected to the New Relic Host UI instead of the Container UI, complicating monitoring and troubleshooting efforts. It describes how this misplacement of logs leads to cluttered and unclear log management, likening it to finding a specific conversation in a crowded room. To address this, the article provides a detailed solution involving adjustments in logging configuration, tagging containers, and setting up log parsing rules in New Relic to ensure logs are correctly categorized and easily accessible. The author, Harry Kimpel, also shares his contributions to the OpenTelemetry demo application and updates to New Relic documentation to enhance log management practices, encouraging readers to experiment, share insights, and engage with the community for improved observability.