---
title: "InfluxDB data source | Grafana documentation"
description: "InfluxDB data source for Grafana"
---

# InfluxDB data source

[InfluxDB](https://www.influxdata.com/products/) is an open-source time series database (TSDB) developed by [InfluxData](https://www.influxdata.com/). 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:

- [Configure the InfluxDB data source](/docs/grafana-cloud/connect-externally-hosted/data-sources/influxdb/configure)
- [InfluxDB query editor](/docs/grafana-cloud/connect-externally-hosted/data-sources/influxdb/query-editor)
- [InfluxDB template variables](/docs/grafana-cloud/connect-externally-hosted/data-sources/influxdb/template-variables)
- [Troubleshoot InfluxDB data source issues](/docs/grafana-cloud/connect-externally-hosted/data-sources/influxdb/troubleshooting)

## Additional resources

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

- Use [Explore](/docs/grafana/next/explore/) to run ad hoc queries against your InfluxDB data.
- Configure and use [template variables](/docs/grafana/next/dashboards/variables/) for dynamic dashboards.
- Add [transformations](/docs/grafana/next/panels-visualizations/query-transform-data/transform-data/) to process query results.
- [Build dashboards](/docs/grafana/next/dashboards/build-dashboards/) to visualize your InfluxDB data.
- Set up [alerting](/docs/grafana-cloud/alerting-and-irm/alerting/) based on your InfluxDB query results.
