Problem
You're not seeing expected log data in the New Relic UI after ten minutes of installing the infrastructure agent, the agent, or setting up log forwarding.
Solutions
If no data appears after you set up a log-reporting solution and wait about five minutes, try the following:
Logs troubleshooting | Comments |
---|---|
Infrastructure and APM agents | These agents are designed to automatically report log data. This is referred to as logs-in-context. If you don't see that data, or want to do additional configuration, some options: For APM:
For the infrastructure agent: see logging config options. |
Access to data | It's possible you may not have the right permissions or account access. See Factors affecting access to features and data. |
Compatibility | If you've set up log forwarding, ensure you've installed a compatible log forwarder. |
Status codes | Check the response status code being returned from the New Relic log collection endpoint. For example, you might see:
This error means that you're using an invalid security key. New Relic requires a to enable log shipping. An |
Errors | Run a query using the
|
Query | Try querying the
If no data appears in the query builder, then no data will appear in the Logs UI. For more information, see our docs about data query options. |