New Relic products report a wide range of event data. Different products have different data retention periods, and different ways to extend event data retention. You can customize the length of your event data retention through flexible event retention.
All New Relic product subscriptions come with a certain level of data retention that governs how long different types of data are retained. One type of data governed by data retention rules is event data. Event data is available in some UI charts and tables, and also available for querying via NRQL, our querying language.
Here are some examples of how different product subscriptions can affect event data retention:
- Free/Lite APM subscription: default-reported events available for 1 day. No custom events available.
- Pro APM subscription: default-reported events available for 8 days. Custom events available for 1 day (and able to be extended with Insight Pro).
To see your subscriptions, go to the Account summary page.
APM, Browser, and Mobile
Event data retention can be extended with a paid subscription to these products (see product data retention). To extend retention of both default-reported events and custom events further, you need an Insights Pro subscription.
Event data retention can be extended with a paid Infrastructure subscription. See Infrastructure data retention rules.
Event data retention can be extended with a paid Synthetics subscription. See Synthetics data retention rules.
As of April 12, 2021, we are upgrading Insights to an improved web and mobile experience! All of your Insights URLs will be redirected automatically to the corresponding dashboards in New Relic One. For more details about this migration and how you can easily plan for this transition, see our Explorers Hub post.
A paid Insights subscription is what governs the extension of event data retention for:
- Our APM, Browser, Mobile, and Serverless products
- Custom events that come from an agent API or from the Event API
To see the data retention governed by your Insights subscription, go to: account dropdown > Account settings > Usage > Event data retention.
With an Insights Pro subscription, you can use flexible retention to customize how your event data is retained. This lets you keep only the data you need, for as long as you need it.
With an Insights Pro subscription, you get access to flexible retention, which lets you define how some types of event data are retained. This lets you keep only the event data you need, for as long as you need it. You can manage your flexible retention through the UI or through our GraphQL API.
Requirements to use this feature:
- An Insights Pro subscription or equivalent trial.
- Applies only for events governed by an Insights Pro subscription.
- To use this feature, you must be an account Owner or data retention add-on manager for your account.
You can control data retention with either NerdGraph (our GraphQL API) or in the UI.
The following API examples show how to alter data retention via the NerdGraph GraphiQL explorer.
Your retention changes take effect within 24 hours after updating.
For details about the data retention of other products or integrations, see that specific documentation.