I stumbled on the following example in the documentation:
from(bucket:"example-bucket") |> range(start:-1h) |> filter(fn: (r) => r._measurement == "cpu" and r._field == "usage_system" and r.cpu == "cpu-total" )
If I try this in my DB it does not work. So I am wondering what type of key is the
cpu entry (tag or field?). Because if it is a field, I think that the example is not working. Could one elaborate on this example and show the structure of the records behind it?
The example can be found here