Execute queries
This page documents an earlier version of InfluxDB. InfluxDB v2.7 is the latest stable version. View this page in the v2.7 documentation.
There are multiple ways to execute queries with InfluxDB. Choose from the following options:
Query sample data
Explore InfluxDB OSS with our sample data buckets.
Query in Data Explorer
Query InfluxDB using the InfluxDB user interface (UI) Data Explorer. Discover how to query data in InfluxDB 2.1 using the InfluxDB UI.
Query with the InfluxDB API
Query InfluxDB with the InfluxDB API. Discover how to query data in InfluxDB 2.1 using the InfluxDB API.
Query in the Flux REPL
Query InfluxDB using the Flux REPL. Discover how to query data in InfluxDB 2.3 using the Flux REPL.
Use the influx query command
Query InfluxDB using the influx CLI. Discover how to query data in InfluxDB 2.1 using influx query
.