Add a field override
You can override a field when you want to change the display of the value in the visualization.
Before you begin
To add a field override:
-
Edit the panel to which you want to add an override.
-
In the panel display options, in the Overrides section, click Add field override.
-
Select which fields an override rule will be applied to:
- Fields with name - Select a field from the list of all available fields. Properties you add to a rule with this selector are only applied to this single field.
- Fields with name matching regex - Specify fields to override with a regular expression. Properties you add to a rule with this selector are applied to all fields where the field name match the regex.
- Fields with type - Select fields by type, such as string, numeric, and so on. Properties you add to a rule with this selector are applied to all fields that match the selected type.
- Fields returned by query - Select all fields returned by a specific query, such as A, B, or C. Properties you add to a rule with this selector are applied to all fields returned by the selected query.
-
Click Add override property.
-
Select the field option that you want to apply.
-
Enter options by adding values in the fields. To return options to default values, delete the white text in the fields.
-
Continue to add overrides to this field by clicking Add override property, or you can click Add override and select a different field to add overrides to.
-
When finished, click Save to save all panel edits to the dashboard.
Related Grafana resources
Getting started with Grafana 8
Grafana 8.0 is here! Join us for a live walkthrough on how to get started using Grafana 8 and the Grafana 8 user interface while showing how to set up monitoring for a web service that uses Prometheus and Loki to store metrics and logs.
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.
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.