As software teams modernize their applications in the cloud and ship changes more frequently with continuous delivery, they can expect to see an increase in the number of log files and the amount of log data they have to manage. Too often, though, we hear from developers, DevOps engineers, and SREs that it’s hard to maintain context when there is so much data. When troubleshooting issues arise, they don’t want to waste time—and lose context—switching between monitoring and logging tools.
New Relic Logs helps teams reduce this complexity and maintain context with their log data. With New Relic Logs, you can combine log data with application performance and infrastructure health in one place. This helps you more easily correlate log data with events and errors across your stack, troubleshoot logsand production issues faster, and reduce mean time to resolution (MTTR). New Relic Logs includes the ability to view your logs in context. By linking your log data directly to applications, APM errors, and APM traces and spans instrumented in New Relic, you can more quickly identify meaningful trends in your data.
Logs in context now available with all New Relic agents
Today, we’re expanding support for logs in context, enabling it for all New Relic APM agents, building on our existing support for Kubernetes and AWS Lambda. Now you can connect log data for all of your applications instrumented with New Relic, including those written in Go, Java, .NET, Node.js, PHP, Python, and Ruby.
For example, you can correlate log messages to a related error trace or distributed trace for an instrumented application by appending trace IDs to the corresponding application logs, then automatically filtering to those logs from the errors or distributed trace user interfaces in New Relic.
In this example, we’re troubleshooting a problematic trace in New Relic One distributed tracing:
After clicking the link to the logs for that trace, the New Relic Logs UI shows us the log messages associated with that problematic trace:
By bringing all of this data together in a single tool, we want to make it easy for you to quickly get to the root cause of an issue and narrow down from all of your logs, so you can quickly find the exact log lines that you need to identify and resolve a problem.
Get started with logs in context today
New Relic Logs gives you fast, scalable log management that connects your log data with the rest of your telemetry data, including metrics, traces, and events. Pre-built plugins to some of the most common open source log forwarders (Fluent Bit, Fluentd, Amazon CloudWatch, AWS FireLens, Logstash, and more) make it simple to send your data from anywhere to New Relic. If you’re already a New Relic Pro subscriber, you can get started for free by enabling New Relic Logs and installing a compatible log forwarding plugin, or you can send log data directly to New Relic via our Log API.
See Configure logs in context with APM agents in the New Relic documentation to get started!
Once you’re up and running, explore your data within the New Relic Logs UI; troubleshoot errors with distributed tracing, stack traces, and application logs; and query your data to create custom dashboards, charts, and alerts.
As always, we love to hear your feedback. Visit the New Relic Explorer's Hub and let us know what you think!
To learn more about how logs relate to your other telemetry data, check out M.E.L.T. 101: An Introduction to the Four Essential Telemetry Data Types.
이 블로그에 표현된 견해는 저자의 견해이며 반드시 New Relic의 견해를 반영하는 것은 아닙니다. 저자가 제공하는 모든 솔루션은 환경에 따라 다르며 New Relic에서 제공하는 상용 솔루션이나 지원의 일부가 아닙니다. 이 블로그 게시물과 관련된 질문 및 지원이 필요한 경우 Explorers Hub(discuss.newrelic.com)에서만 참여하십시오. 이 블로그에는 타사 사이트의 콘텐츠에 대한 링크가 포함될 수 있습니다. 이러한 링크를 제공함으로써 New Relic은 해당 사이트에서 사용할 수 있는 정보, 보기 또는 제품을 채택, 보증, 승인 또는 보증하지 않습니다.