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.0 with InfluxQL.
There are multiple ways to query data from InfluxDB including the InfluxDB UI, CLI, and API.
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.
Was this page helpful?
Thank you for your feedback!
Support and feedback
Thank you for being part of our community! We welcome and encourage your feedback and bug reports for InfluxDB and this documentation. To find support, use the following resources:
InfluxDB Cloud and InfluxDB Enterprise customers can contact InfluxData Support.