• Log inStart now

Introduction to querying data in New Relic

New Relic is a powerful observability platform that gives you access to all your data throughout your entire system. We host telemetry data sent by your entities, which basically is anything we can identify that has data you can monitor, including applications, services, hosts, etc. You name it!

While we provide you with an out of the box experience to see your data with curated dashboards, you can tailor the access to your data and custom the visibility in several ways, including in the UI or via API.

Important

To better understand your data stored in New Relic, see Data types.

Our open door to your data

Regardless of your experience with New Relic, we'll help you discover, understand and visualize your data.

You...

Then do this...

Just installed an agent and want to see your data in New Relic.

Browse your data easily without building queries. With the data explorer, you can understand the data we’ve stored, see its cardinality, or build charts in a few clicks.

Know what data is available, but you want to understand more about what else is coming with that data.

If you're an advanced user, use our query builder to tailor the data you want to retrieve.

Want to build a dashboard.

Create a custom dashboard from the data explorer or the query builder.

Want more options for querying than the UI query builder provides.

Use our NerdGraph API, which has more features, such as cross-account querying and historical data export.

Browse your data in the UI

Our platform offers several experiences that don't require knowledge of NRQL or any query language:

  • To explore your New Relic data, you can use the data explorer, an intuitive data navigator for exploring data and creating visualizations. You can also use the query builder to refine your query.
  • To explore your trace data, you can use the distributed tracing query.
  • To explore logs, you can use the logs UI.

Query data in the UI

If you're ready to do more than browsing data, become an all-hands actor and personalize your queries in the New Relic UI. Use query languages, including our New Relic query language or our PromQL-style query language, to edit queries with full flexibility. For example, you can add more WHERE clauses, modify the returned value, change to other types of visualizations, etc.

Tip

Are you new to querying languages? Start browsing data in the data explorer, then turn to the query builder to see the query you built, and refine it.

There are two ways to write your own queries to retrieve data and build charts:

Query data via API

When you need programmatic options, or want to unlock more querying power, you can use APIs to query your New Relic data. Our NerdGraph API gives you more powerful options not available in the UI, such as querying across accounts, and exporting longer-term historical data sets. For more information, see Intro to NerdGraph.

Copyright © 2022 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.