Query data in InfluxDB

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.2 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.