As an additional security measure for managing your New Relic account, you can use the
NrAuditEvent event to view audit logs that show changes in your New Relic account. This includes:
- Individuals added or deleted
- Role changes
- Account changes made via API
- Synthetic monitor changes
- Dashboard deletion
- Workload configuration changes
You can also use alerts to be notified about changes in your New Relic account.
All New Relic accounts can query up to 13 months of account changes. To ensure account security, the audit logging NRQL query only tracks changes in your currently selected account. It does not show audit log events for any associated child accounts. To query changes in another account or sub-account, select the account and run a NRQL query there.
Audit logging is different than configuring audit mode for your APM agent. APM audit mode records information about all data being transmitted from your app.
To track and view changes in your New Relic account:
At any NRQL interface, run the following query, adjusting the time frame as needed up to thirteen months:SELECT * from NrAuditEvent SINCE 1 day ago
To customize your query, use any of the available
To be notified about account changes, create NRQL conditions with New Relic Alerts.
To query changes in another account, select the account and run a separate NRQL query for that account.