"Filter by name" transform suggests wrong identifiers


  • Grafana OSS v9.2.6 (8ba6f0f1a8), Ubuntu 18.04 amd64
  • Adding transform “Filter by name” to Flux query:
from(bucket: "refra_sensor")
  |> range(start: v.timeRangeStart, stop: v.timeRangeStop)
  |> filter(fn: (r) => r["_measurement"] == "refra_sensor")
  |> filter(fn: (r) => r["_field"] == "temperature" or r["_field"] == "concentration")
  |> filter(fn: (r) => r["sensor_id"] == "${sensor_id}")
  |> aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)
  |> yield(name: "mean")

So in transform setup I have field names with appended sensor id:

But I am expecting to have just “concentration” and “temperature”.

I can manually edit Dashboard JSON Model and remove sensor id:

"transformations": [
          "id": "filterFieldsByName",
          "options": {
            "include": {
              "names": [
                "temperature RFCT_SNB4E62D255CD0"

And it will work.

But in Transform UI identifiers will be with sensor id.

How to get identifiers without sensor ids in Transform UI?