Query data in InfluxDB
This page documents an earlier version of InfluxDB. InfluxDB v2.7 is the latest stable version. View this page in the v2.7 documentation.
Learn to query data stored in InfluxDB using Flux and tools such as the InfluxDB user interface and the ‘influx’ command line interface.
Get started with Flux and InfluxDB
Get started with Flux, the functional data scripting language, and learn the basics of writing a Flux query that queries InfluxDB.
Query data with Flux
Guides that walk through both common and complex queries and use cases for Flux.
Query data with InfluxQL
Use the InfluxDB 1.x /query compatibility endpoint to query data in InfluxDB Cloud and InfluxDB OSS 2.3 with InfluxQL.
Execute queries
There are multiple ways to query data from InfluxDB including the InfluxDB UI, CLI, and API.
Common queries
This collection of articles walks through common use cases for Flux queries.
Optimize Flux queries
Optimize your Flux queries to reduce their memory and compute (CPU) requirements.
InfluxDB Essentials
Learn how to write, query, and visualize data in InfluxDB in this free InfluxDB University course.