Files
grafana/docs/sources/panels/override-field-values/add-a-field-override.md
Christopher Moyer a568d421f8 Docs: Setup refactor (#49739)
* builds out refactored setup topics

* Automatically fix some relrefs with mv-manager

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

* Use refs for tutorials content which is outside of this repository

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

* Manually fix complicated relrefs

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

* consolidates team sync and db encryption topics

* Fix relrefs

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

* updates setup index file

* Convert TOML to YAML

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

* Add current alias for new alerting content

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

* Add current aliases to new setup-grafana and configure-security pages

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

* Update docs/sources/setup-grafana/configure-grafana/_index.md

Co-authored-by: Torkel Ödegaard <torkel@grafana.com>

* moves saml docs, updates order in TOC

* Manually fix relrefs

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

* added usage insights topics, adjusted weights

* corrected relrefs

* Fix relrefs broken in rebase

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2022-06-02 11:57:22 -05:00

1.9 KiB

aliases title weight
/docs/grafana/latest/panels/override-field-values/add-a-field-override/
/docs/sources/panels/override-field-values/add-a-field-override/
Add a field override 30

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

  • [Add a panel to a dashboard]({{< relref "../working-with-panels/add-panel/" >}}).

To add a field override:

  1. Edit the panel to which you want to add an override.

  2. In the panel display options, in the Overrides section, click Add field override.

  3. 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.
  4. Click Add override property.

  5. Select the field option that you want to apply.

  6. Enter options by adding values in the fields. To return options to default values, delete the white text in the fields.

  7. 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.

  8. When finished, click Save to save all panel edits to the dashboard.