New Relic log management
All cloud infrastructure projects include . The service is pre-configured to aggregate all log data from your Staging and Production environments and display it in a centralized log management dashboard.
The aggregated data includes information from the following logs:
- All
ece-tools
and application logs from the~/var/log
directory - Logs for cloud services from the
var/log/platform/<project-ID>
directory - Fastly CDN and WAF
When your project is connected to New Relic, you can use the New Relic Logs service to complete tasks like the following:
- Use New Relic queries to search aggregated log data
- Visualize log data through the New Relic Logs application
- Create custom charts, dashboards, and alerts
- Troubleshoot performance issues from a single dashboard
View and analyze log data
Use the New Relic Logs application to search across the aggregated log data and troubleshoot application, infrastructure, CDN, and WAF errors. You can create charts, dashboards, and alerts using log data collected from New Relic APM and Infrastructure services.
To use the New Relic Logs application:
-
Log in to your .
-
Select Logs from the Explorer navigation menu.
-
Verify that your Account is selected at the top of the All logs view.
-
Select a time range for the Logs query.
-
To review infrastructure log data for cloud services (logs from
~/var/log/
), enter the query stringhas: "filePath"
in the Search for Logs field. Then, click Query logs.The names of the log files are stored in the
filePath
column, with full paths to the log file. -
To review Fastly log data, enter the query string
has: "client_ip"
in the Search for Logs field. Then, click Query logs. -
To filter the Fastly log results by country code, click Add column, then select geo_country_code.