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.

If you're brand new to New Relic and want to see how easy using NRQL can be, you can get started with the platform for free and follow along with the tutorial. All you have to do is:

  1. Sign up for a free account if you haven't already.
  2. Use our agents and integrations to automatically collect data from common frameworks and tools.
  3. Visit the quick launch guide for a recommended path on how to set up New Relic. You can start ingesting data to query, and be all set for using this or any of our tutorials.

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.

Have you read the tutorial but don't have an account yet? If you haven't already, create your free New Relic account below to start monitoring your data today.