Whatever your application architecture, we have solutions for reporting your logs to New Relic.
When you use our APM agents, infrastructure agent, or OpenTelemetry integration to report log data, you get logs in context, a feature that lets you see your log data in the context of other platform UI experiences. For example, you'll see logs data in UI experiences like APM, infrastructure monitoring, distributed tracing, and errors inbox, to name a few. With that contextual knowledge, you can then dig deeper into the performance of your app or host, without needing to manually search through log data.
To see how logs in context can help you find the root cause of an issue in your apps and hosts, watch this short video (approx. 3:40 minutes):
By bringing all of your application and infrastructure data together in a single solution, you can get to the root cause of issues faster. Logs in context help you quickly see meaningful patterns and trends.
Don't spend extra time trying to narrow down all your logs from different parts of your platform. Instead, enable logs in context to see the exact log lines you need to identify and resolve a problem.
Our APM agents have logs in context, including log forwarding, enabled by default. For more about getting and using APM logs in context, see APM logs.
With our automatic APM logs in context, you can drill down into your logs, traces, and errors, all from the APM Summary page.
As a more powerful alternative to using an APM agent for log reporting, or as a supplement to APM logs, you can forward logs with our infrastructure agent.
For more solutions for forwarding your logs to New Relic, see Introduction to logs.
Did this doc help with your installation?
After you set up logs in context for APM or infrastructuring monitoring, make the most of your logging data in the New Relic UI: