The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
grafana/docs/sources/panels/transform-data/add-transformation-to-data.md

1.5 KiB

+++ title = "Add a transformation to data" weight = 20 aliases = ["/docs/sources/panels/transform-data/add-transformation-to-data/", "/docs/sources/panels/transform-data/apply-transformation-to-data", "/docs/grafana/latest/panels/transform-data/apply-transformation-to-data"] +++

Add a transformation function to data

The following steps guide you in adding a transformation to data. This documentation does not include steps for each type of transformation. For a complete list of transformations, refer to [Transformation functions]({{< relref "transformation-functions.md" >}}).

Before you begin

  • [Add a query]({{< relref "../query-a-data-source/add-a-query.md" >}}).

To apply a transformation function to data:

  1. Navigate to the panel where you want to add one or more transformations.

  2. Click the panel title and then click Edit.

  3. Click the Transform tab.

  4. Click a transformation.

    A transformation row appears where you configure the transformation options. For more information about how to configure a transformation, refer to [Transformation functions]({{< relref "transformation-functions.md" >}}).

    For information about available calculations, refer to [Calculation types]({{< relref "../calculation-types.md" >}}).

  5. To apply another transformation, click Add transformation.

    This transformation acts on the result set returned by the previous transformation.

    {{< figure src="/static/img/docs/transformations/transformations-7-0.png" class="docs-image--no-shadow" max-width= "1100px" >}}