Manage Environment Calculated Fields

For clearer insights and consistency, you can use calculated fields to create new fields by applying functions and logic to existing data.

Tip
Environments exist only in Honeycomb’s current release. If you use Honeycomb Classic, we recommend migrating to Honeycomb Environments, so you can take advantage of its expanded data model and future product updates.

What is an Environment Calculated Field? 

In Honeycomb, saved calculated fields can apply to either a specific dataset or an entire environment. Environment-wide calculated fields let you define reusable computations that apply across multiple datasets and services.

By managing these fields at the environment level, you ensure consistency in data transformation and reduce the need for redundant field definitions.

Note
For a more general introduction to calculated fields, their scopes, and how you can use them in Honeycomb, visit Use Calculated Fields.

Creating Calculated Fields 

Define a calculated field to transform or derive new insights from your data.

To create an environment-wide calculated field:

  1. Log in to the Honeycomb UI.

  2. In the navigation menu, select the Environment label, then choose Manage Environments.

  3. Locate the environment to which you want to add a calculated field, and select its name to open its settings.

  4. Go to the Schema view.

  5. Select Add New Calculated Field.

  6. In the modal, enter details:

    Field Description
    Display Name Name that appears in the Query Builder. Enter a name that is unique across all datasets and the containing environment. Although Honeycomb tries to prevent duplicate field names, they can still occur. For help resolving naming conflicts, visit Common Issues with Queries: Calculated Fields.
    Editor Formula that defines your field. For syntax, available functions, and example formulas, visit Calculated Field Formula Reference.
    Tip
    Hover over syntax errors (red underlines or red triangles) for suggestions on how to fix them.
  7. Select Save.

The screen refreshes, and your new field appears in the list.

Editing Calculated Fields 

Update a calculated field to refine its formula or adjust its name.

Warning
Before changing a calculated field, check for dependencies that may be affected, such as Boards, Triggers, and SLOs.

To edit an environment-wide calculated field:

  1. Log in to the Honeycomb UI.

  2. In the navigation menu, select the Environment label, then select Manage Environments.

  3. Find the environment containing the calculated field you want to change, and select its name to open its settings.

  4. Go to the Schema view.

  5. Locate the calculated field in the list, and select Edit.

    Edit calculated field
    1. If dependencies exist, Honeycomb will prompt you to either clone the field or continue editing. If you are unsure, contact the field’s most recent editor before proceeding.

      Edit a calculated field modal with a dependency
  6. In the modal, modify the pre-populated name and formula as needed. For syntax, available functions, and example formulas, visit Calculated Field Formula Reference.

  7. Select Save.

The screen refreshes, and the edited field updates in the list.

Cloning Calculated Fields 

If you need a new calculated field similar to an existing one, you can clone the existing calculated field and modify it as needed.

To clone an environment-wide calculated field:

  1. Log in to the Honeycomb UI.

  2. In the navigation menu, select the Environment label, then select Manage Environments.

  3. Find the environment containing the calculated field you want to clone, and select its name to open its settings.

  4. Go to the Schema view.

  5. Locate the calculated field in the list, and select Clone.

    Clone a calculated field from the table
  6. In the modal, modify the pre-populated name and formula as needed. For syntax, available functions, and example formulas, visit Calculated Field Formula Reference.

  7. Select Save.

The screen refreshes, and your new field appears in the list.

Deleting Calculated Fields 

To manage your data effectively, you may need to delete calculated fields that you no longer need.

Warning
Before removing a calculated field, check for dependencies that may be affected, such as Boards, Triggers, and SLOs.
Important
To delete a calculated field, you must be its creator or a Team Owner.

To delete an environment-wide calculated field:

  1. Log in to the Honeycomb UI.

  2. In the navigation menu, select the Environment label, then choose Manage Environments.

  3. Find the environment containing the calculated field you want to delete, and select its name to open its settings.

  4. Go to the Schema view.

  5. Locate the calculated field in the list, and select Delete.

    Delete calculated field
    1. If dependencies exist, a list will appear.

    2. To continue, remove all dependencies. If you are unsure, contact the most recent editor of each dependency before proceeding.

    3. Select Refresh Dependencies.

      Delete a calculated field modal with dependent objects shown
  6. In the confirmation modal, select Delete.

    Delete a calculated field confirmation modal

The screen refreshes, and the field no longer appears in the list. Existing queries using the calculated field will still work, but the field name will no longer be available when building new queries.