Configure field overrides

    For example, you set the unit for all fields that include the text ‘bytes’ by adding an override using the matcher and then add the Unit option to the override rule.

    Let’s assume that our result set is a data frame that consists of two fields: time and temperature.

    Each field (column) of this structure can have field options applied that alter the way its values are displayed. This means that you can, for example, set the Unit to Temperature > Celsius, resulting in the following table:

    timetemperature
    2020-01-02 03:04:0045.0 °C
    2020-01-02 03:05:0047.0 °C
    2020-01-02 03:06:0048.0 °C

    In addition, the decimal place is not required, so we can remove it. You can change the Decimals from to zero (), resulting in the following table:

    Example 2: Format temperature and humidity

    Let’s assume that our result set is a data frame that consists of four fields: time, high temp, low temp, and humidity.

    timehigh templow temphumidity
    2020-01-02 03:04:0045.030.067
    2020-01-02 03:05:0047.034.068
    2020-01-02 03:06:0048.031.068

    Let’s add the Celsius unit and get rid of the decimal place. This results in the following table:

    timehigh templow temphumidity
    2020-01-02 03:04:0045 °C30 °C67%
    2020-01-02 03:05:0047 °C34 °C68%
    2020-01-02 03:06:0048 °C31 °C68%

    A field override rule can customize the visualization settings for a specific field or series.

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

    2. In the panel options side pane, click Add field override at the bottom of the pane.

    3. Select which fields an override rule will be applied to:

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

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

    Delete a field override

    Delete a field override when you no longer need it. When you delete an override, the appearance of value defaults to its original format. This change impacts dashboards and dashboard users that rely on an affected panel.

    1. Edit the panel that contains the override you want to delete.
    2. Click the override you want to delete and then click the associated trash icon.

    You can view field overrides in the panel display options.

    1. Edit the panel that contains the overrides you want to view.
    2. In panel options side pane, scroll down until you see the overrides.

    Edit a field override

    Edit a field override when you want to make changes to an override setting. The change you make takes effect immediately.

    1. Edit the panel that contains the overrides you want to edit.
    2. In panel options side pane, scroll down until you see the overrides.
    3. Locate the override that you want to change.
    4. Perform any of the following:
      • Edit settings on existing overrides or field selection parameters.
      • Delete existing override properties by clicking the X next to the property.