Try using Grot AI Grot AI for this query ->
Promo banner icon

Grafana 12.4 is here — faster and easier data visualization, Git Sync for observability as code updates, and more.

Learn more
DownloadsContact Us
Logo
  • Pricing
  • Docs
Sign inSign up
Menu
Technical documentation Plugin catalog
Choose a product
Viewing: v1.3.28 (latest)
  • JSON API data source
  • Installation
  • Configuration
  • Query Editor
  • Macros
  • JSONPath
  • JSONata
  • Variables
  • Variables
  • Troubleshooting
  • Copyright notice
Scroll for more
Documentationbreadcrumb arrow Pluginsbreadcrumb arrow JSON API data sourcebreadcrumb arrow JSONata
Open source Grafana Cloud

JSONata is a query and transformation language for JSON data.

If you’re new to JSONata, start by looking at some simple queries.

Dashboard variables are available as JSONata variables, e.g. $instanceName. Since dashboard variables can have multiple values, the JSONata variable is always an array. If your variable contains a single value, you can use $instanceName[0] to index the first value in the array.

Was this page helpful?

Email docs@grafana.com
Help and support
Community

Related resources from Grafana Labs

Additional helpful documentation, links, and articles:
video icon
Video
Unify your data with Grafana plugins: Datadog, Splunk, MongoDB, and more
Unify your data with Grafana plugins: Datadog, Splunk, MongoDB, and more
In this webinar, learn how to leverage Grafana's plugin ecosystem for access to 80+ data sources, including plugins for Datadog, Splunk, MongoDB, and more.
video icon
Video
Grafana plugins demo: GitHub, GitLab, JIRA, ServiceNow, and more
Grafana plugins demo: GitHub, GitLab, JIRA, ServiceNow, and more
In this webinar, we'll show you how to use Grafana to unlock these insights and have better visibility into the performance of your software development team.
video icon
Video
All about Grafana plugins: Visualizing disparate data sources in one place
All about Grafana plugins: Visualizing disparate data sources in one place
Grafana Enterprise plugins are integrations with other commercial monitoring tools (such as Datadog, Splunk, New Relic, ServiceNow, Oracle, and Dynatrace) that are created, maintained, and supported by the Grafana Labs team.

Is this page helpful?

Still have questions?

Ask your questions. Let AI do the heavy lifting.

Ask AI icon
Newsletter icon

Get every update

Subscribe to our newsletter

By submitting, you agree to our Privacy policy

Grafana Cloud

  • Overview
  • Pricing
  • What's in the free tier?
  • AI Assistant
  • Application Observability
  • Kubernetes Monitoring
  • Dashboards & Visualization
  • Database Observability
  • Frontend Observability
  • Synthetic Monitoring
  • Performance & Load Testing
  • Incident Response & Management
  • What’s New
  • Grafana Cloud Status

Solutions

  • AI Observability
  • Full-Stack Observability
  • Infrastructure & Cloud Observability
  • Digital Experience Monitoring
  • Scaled Prometheus
  • Cost Management & Optimization
  • Site Reliability
  • Log Management
  • Migrate to OpenTelemetry

Integrations

  • All Integrations
  • AWS
  • Google Cloud
  • Microsoft Azure
  • Kubernetes
  • Datadog
  • New Relic

Open Source

  • Our Projects
  • GitHub
  • Downloads
  • Dashboard Templates

Learn

  • Documentation
  • Blog
  • Community
  • Events
  • Observability Survey & Reports

Company

  • About Grafana Labs
  • Open Positions
  • Partnerships
  • Newsroom
  • Success Stories
  • Contact Us
  • Getting Help
  • Professional Services
  • Hey AI

Compare

  • Datadog vs. Grafana Labs
  • Dynatrace vs Grafana Cloud
  • Elasticsearch vs Grafana Cloud
  • New Relic vs Grafana Cloud
  • PagerDuty vs Grafana Cloud
  • Splunk vs Grafana Cloud
Grafana Labs x unique logomark

Donut take our word for it. Try Grafana Cloud today.

Grafana Cloud StatusLegal & SecurityTerms of ServicePrivacy PolicyTrademark Policy

Copyright 2026 © Grafana Labs

FacebookXLinkedinGithubYoutubeReddit
Grafana Labs uses cookies for the normal operation of this website. Learn more.