Grafana Cloud Enterprise Open source

InfluxDB data source

InfluxDB is an open-source time series database (TSDB) developed by InfluxData. It is optimized for fast, high-availability storage and retrieval of time series data in fields such as operations monitoring, application metrics, IoT sensor data, and real-time analytics.

Grafana includes a built-in InfluxDB data source plugin, enabling you to query and visualize data from InfluxDB without installing additional plugins. Grafana offers multiple configuration options for this data source, including a choice of three query languages (InfluxQL, SQL, and Flux) and a query editor with both code and visual builder modes.

Supported versions

This data source supports the following InfluxDB products:

  • InfluxDB OSS 1.x, 2.x, and 3.x
  • InfluxDB Enterprise 1.x and 3.x
  • InfluxDB Cloud Serverless
  • InfluxDB Cloud Dedicated
  • InfluxDB Cloud (TSM)

Key capabilities

The InfluxDB data source supports:

  • Multiple query languages: Choose from InfluxQL, SQL (v3.x+), or Flux depending on your InfluxDB version.
  • Time series queries: Visualize metrics over time with built-in macros for time filtering and grouping.
  • Table queries: Display query results in table format.
  • Template variables: Create dynamic dashboards with variable-driven queries.
  • Annotations: Overlay events from InfluxDB on your dashboard panels.
  • Alerting: Create alerts based on InfluxDB query results.
  • Log querying: Query and display log data in Explore and the Logs panel.

Get started with the InfluxDB data source

The following documents will help you get started with the InfluxDB data source in Grafana:

Additional resources

Once you have configured the InfluxDB data source, you can: