This is documentation for the next version of Grafana. For the latest stable release, go to the latest version.
Configure variable selection options
Selection Options are a feature you can use to manage variable option selections. All selection options are optional, and they are off by default.
If you turn this on, then the variable dropdown list allows users to select multiple options at the same time. For more information, refer to Formatting multi-value variables.
Include All option
Grafana adds an
All option to the variable dropdown list. If a user selects this option, then all variable options are selected.
Custom all value
This option is only visible if the Include All option is selected.
Enter regex, globs, or lucene syntax in the Custom all value field to define the value of the
By default the
All value includes all options in combined expression. This can become very long and can have performance problems. Sometimes it can be better to specify a custom all value, like a wildcard regex.
In order to have custom regex, globs, or lucene syntax in the Custom all value option, it is never escaped so you will have to think about what is a valid value for your data source.
Related Grafana resources
GrafanaCONline 2021 is coming June 7-17
Be the first to learn about exciting next-generation features in Grafana 8.0, be inspired by what community members are building, and attend expert-led sessions and workshops on Grafana, Prometheus, Loki logs, and more.
Unify your data with Grafana plugins: Splunk, MongoDB, Datadog, and more
Show how Grafana can be used to take data from multiple different sources and unify it, without disrupting the investments that are working today.
Demo: Getting started with Grafana Enterprise and observability
Join the Grafana Labs team for a 30-minute demo of how to get started with the Grafana Stack, so you can go from zero to observability in just a few minutes.