query_logs
Query New Relic logs with NRQL to retrieve, filter, and analyze log data by account ID. Use it for troubleshooting and monitoring.
Instructions
Query New Relic logs using NRQL.
Args: query: NRQL query string (e.g., "SELECT * FROM Transaction") account_id: New Relic account ID (default from env var)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| account_id | No | 1234567 |