Hey everyone,
I’m fairly new with Flux here and I’ve got a Grafana dashboard I’m plugging in a query variable to gather the list of hosts:
import “influxdata/influxdb/schema”
schema.tagValues(
bucket: “telegraf”,
tag: “host”,
predicate: (r) => true,
stop: -30m,
)
Is it possible to get only the results of hosts within the last 24h?