• /
  • EnglishEspañol日本語한국어Português
  • Log inStart now

Parsing and transforming data just got easier with jsonParse(), cidrAddress(), toTimestamp() and many more functions!

January 18, 2024

Plenty of new NRQL functions to work with!

  • Learn more

Data isn't always clean, and extracting the right fields in the right format can be difficult without the right tools. That is why today we are excited to announce multiple new NRQL features geared towards helping customers parse and transform their data in new ways. The following functions are now generally available to all customers:

  • jsonParse() - Parse JSON at query time
  • mapKeys() - Return the keys from your parsed JSON
  • mapValues() - Return the values from your parsed JSON
  • convert() - Convert from one metric unit to another (milliseconds to seconds)
  • cidrAddress() - Find the base network address of your IP address
  • toTimestamp() - Convert a datetime string into an epoch time
  • toDatetime() - Convert an epoch time into a datetime string (in the format you want!)
  • encode() - Encode your data into base64
  • decode() - Decode your data from base64

For a deeper dive into each of these functions, check out the documentation via each link!

Edit this doc
Copyright © 2024 New Relic Inc.

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