docs-v2/content/influxdb/cloud/query-data/flux/explore-schema.md

1.3 KiB

title list_title description influxdb/cloud/tags menu weight related list_code_example source
Explore your data schema with Flux Explore your schema Flux provides functions that let you explore the structure and schema of your data stored in InfluxDB.
schema
influxdb_cloud
name parent
Explore your schema Query with Flux
206
/flux/v0/stdlib/univese/buckets/
/flux/v0/stdlib/influxdata/influxdb/schema/measurements
/flux/v0/stdlib/influxdata/influxdb/schema/fieldkeys
/flux/v0/stdlib/influxdata/influxdb/schema/measurementfieldkeys
/flux/v0/stdlib/influxdata/influxdb/schema/tagkeys
/flux/v0/stdlib/influxdata/influxdb/schema/measurementtagkeys
/flux/v0/stdlib/influxdata/influxdb/schema/tagvalues
/flux/v0/stdlib/influxdata/influxdb/schema/measurementtagvalues
```js import "influxdata/influxdb/schema" // List buckets buckets() // List measurements schema.measurements(bucket: "example-bucket") // List field keys schema.fieldKeys(bucket: "example-bucket") // List tag keys schema.tagKeys(bucket: "example-bucket") // List tag values schema.tagValues(bucket: "example-bucket", tag: "example-tag") ``` /shared/influxdb-v2/query-data/flux/explore-schema.md