New Relic Logs allows you to collect, process, explore, visualize, and alert on your log data using your existing log forwarder. This document explains how to enable this feature and get started using it.
Compatibility and requirements
Logs requires an active trial or paid subscription for any New Relic product.
To use New Relic Logs, ensure your configuration meets the following requirements:
Enable New Relic Logs using the Infrastructure agent
If you already have a New Relic Infrastructure subscription, you can forward your logs to New Relic Logs using the Infrastructure agent, our lightweight data collector, without having to use additional software.
For more information, see Forward your logs using the New Relic Infrastructure agent.
Enable New Relic Logs using a log forwarding plugin
Choose a plugin to see specific instructions:
- Fluentd plugin (recommended)
- AWS CloudWatch plugin
- AWS FireLens plugin
- Fluent Bit plugin
- Kubernetes plugin
- Logstash plugin
- Vector plugin
Enable using the Logs API
If you prefer to connect to New Relic without installing a plugin, New Relic offers HTTP input integration. This will allow you to send your monitored log data directly to New Relic Logs via the Log API. For more information, see Introduction to Log API.
Now that you've enabled Logs, here are some potential next steps:
- Explore your data using the Logs UI.
- Configure your agent to see contextual log data, such as distributed tracing, stack traces, application logs, and more.
- Query your data and create custom dashboards, charts, or alerts.
If no data appears after you enable New Relic Logs, follow the troubleshooting procedures.