• Log inStart now

Introductory NRQL tutorial: Unlock your data

After learning the basics of NRQL in our other topics, such as what NRQL is, how NRQL works, and how NRQL relates to charts and dashboards, you're ready to try the examples in this tutorial! The tutorial covers some foundational concepts within the language to help you create some basic NRQL queries using your data, including how to:

  • Use SELECT and FROM
  • Use LIMIT
  • Specify attributes
  • Aggregate using average(), max(), min(), sum(), and count()
  • Use SINCE and UNTIL
  • Plot line graphs with TIMESERIES
  • Filter using WHERE
  • Group attributes using FACET

Want to follow this tutorial within the New Relic platform? We've included a NRQL Lessons application on our opensource.newrelic.com with the same steps and examples to help you quickly see NRQL's value and power without leaving the application. The video below shows you how to install the NRQL Lesson.

You can also click any of the screenshots in the steps below to see how an example query will look in the query builder. Ready to get started? Let's go!

Congratulations: you've completed the first NRQL tutorial! If you've made it this far, you now know the basics of querying event data using NRQL.

Copyright © 2023 New Relic Inc.

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