---
title: Get started with InfluxDB Clustered
description: Start writing and querying time series data in InfluxDB Clustered.
url: https://docs.influxdata.com/influxdb3/clustered/get-started/
estimated_tokens: 2522
publisher: InfluxData
canonical: https://docs.influxdata.com/influxdb3/clustered/get-started/
date: '2025-03-13T17:02:04-06:00'
lastmod: '2025-03-13T17:02:04-06:00'
---

InfluxDB is the platform purpose-built to collect, store, and query
time series data.
InfluxDB Clustered is powered by the InfluxDB 3 storage engine, that
provides nearly unlimited series cardinality,
improved query performance, and interoperability with widely used data
processing tools and platforms.

**Time series data** is a sequence of data points indexed in time order. Data
points typically consist of successive measurements made from the same source
and are used to track changes over time. Examples of time series data include:

* Industrial sensor data
* Server performance metrics
* Heartbeats per minute
* Electrical activity in the brain
* Rainfall measurements
* Stock prices

This multi-part tutorial walks you through writing time series data to
your InfluxDB cluster, querying, and then visualizing that data.

## Key concepts before you get started

Before you get started using InfluxDB, it’s important to understand how time series
data is organized and stored in InfluxDB and some key definitions that are used
throughout this documentation.

* [Data organization](#data-organization)
* [Schema on write](#schema-on-write)
* [Important definitions](#important-definitions)

### Data organization

The InfluxDB Clustered data model organizes time series data into databases
and tables.

A database can contain multiple tables.
Tables contain multiple tags and fields.

* **Database**: A named location where time series data is stored in *tables*.*Database* is synonymous with *bucket* in InfluxDB Cloud Serverless and InfluxDB TSM.
  * **Table**: A logical grouping for time series data. All *points* in a given
    table should have the same *tags*. A table contains *tags* and*fields*. *Table* is synonymous with *measurement* in InfluxDB Cloud
    Serverless and InfluxDB TSM.
    * **Tags**: Key-value pairs that provide metadata for each point–for
      example, something to identify the source or context of the data like
      host, location, station, etc. Tag values may be null.
    * **Fields**: Key-value pairs with values that change over time–for
      example, temperature, pressure, stock price, etc. Field values may be
      null, but at least one field value is not null on any given row.
    * **Timestamp**: Timestamp associated with the data. When stored on disk and
      queried, all data is ordered by time. A timestamp is never null.

#### What about buckets and measurements?

If coming from InfluxDB Cloud Serverless or InfluxDB powered by the TSM storage engine, you’re likely familiar
with the concepts *bucket* and *measurement*.*Bucket* in TSM or InfluxDB Cloud Serverless is synonymous with*database* in InfluxDB Clustered.*Measurement* in TSM or InfluxDB Cloud Serverless is synonymous with*table* in InfluxDB Clustered.

### Schema on write

As you write data to InfluxDB, the data defines the table schema.
You don’t need to create tables or
explicitly define the table schema.

### Important definitions

The following definitions are important to understand when using InfluxDB:

* **Point**: Single data record identified by its *measurement, tag keys, tag values, field key, and timestamp*.
* **Series**: A group of points with the same *measurement, tag keys and values, and field key*.
* **Primary key**: Columns used to uniquely identify each row in a table.
  Rows are uniquely identified by their *timestamp and tag set*.
  A row’s primary key *tag set* does not include tags with null values.

##### Example InfluxDB query results

name: weather

|        time        | city  |country|temperature|humidity|
|:-------------------|:------|:------|----------:|-------:|
|2022-01-01T12:00:00Z|London |  UK   |   12.0    |  88.4  |
|2022-01-01T12:00:00Z|Cologne|  DE   |   13.2    |  88.5  |
|2022-02-01T12:00:00Z|London |  UK   |   12.1    |  94.0  |
|2022-02-01T12:00:00Z|Cologne|  DE   |   11.5    |  87.8  |
|2022-03-01T12:00:00Z|London |  UK   |   11.5    |  82.1  |
|2022-03-01T12:00:00Z|Cologne|  DE   |   10.2    |  76.4  |
|2022-04-01T12:00:00Z|London |  UK   |    5.9    |  87.6  |
|2022-04-01T12:00:00Z|Cologne|  DE   |    7.9    |  93.3  |

## Tools to use

The following table compares tools that you can use to interact with InfluxDB Clustered.
This tutorial covers many of the recommended tools.

|                                       Tool                                        |Administration|Write|Query|
|-----------------------------------------------------------------------------------|--------------|-----|-----|
|                           [Chronograf](/chronograf/v1/)                           |      \-      | \-  |**✓**|
|                                   `influx` CLI                                    |      \-      | \-  | \-  |
|                        [`influxctl` CLI](#influxctl-cli)\*                        |    **✓**     |**✓**|**✓**|
|                     [`influx3` data CLI](#influx3-data-cli)\*                     |      \-      |**✓**|**✓**|
|                     [InfluxDB HTTP API](#influxdb-http-api)\*                     |      \-      |**✓**|**✓**|
|                              InfluxDB user interface                              |      \-      | \-  | \-  |
|           [InfluxDB 3 client libraries](#influxdb-3-client-libraries)\*           |      \-      |**✓**|**✓**|
|[InfluxDB v2 client libraries](/influxdb3/clustered/reference/client-libraries/v2/)|      \-      |**✓**| \-  |
|[InfluxDB v1 client libraries](/influxdb3/clustered/reference/client-libraries/v1/)|      \-      |**✓**|**✓**|
|                            [Telegraf](/telegraf/v1/)\*                            |      \-      |**✓**| \-  |
|                               **Third-party tools**                               |              |     |     |
|                                Flight SQL clients                                 |      \-      | \-  |**✓**|
|      [Grafana](/influxdb3/clustered/query-data/sql/execute-queries/grafana/)      |      \-      | \-  |**✓**|
|     [Superset](/influxdb3/clustered/query-data/sql/execute-queries/superset/)     |      \-      | \-  |**✓**|
|          [Tableau](/influxdb3/clustered/process-data/visualize/tableau/)          |      \-      | \-  |**✓**|

\* Covered in this tutorial

> [!Warning]
> Avoid using the `influx` CLI with InfluxDB Clustered.
> While it may coincidentally work, it isn’t supported.

### `influxctl` admin CLI

The [`influxctl` command line interface (CLI)](/influxdb3/clustered/reference/cli/influxctl/)writes, queries, and performs administrative tasks, such as managing databases
and authorization tokens in a cluster.

### `influx3` data CLI

The [`influx3` data CLI](/influxdb3/clustered/get-started/query/?t=influx3+CLI#execute-an-sql-query) is a community-maintained tool that lets you write and query data in InfluxDB Clustered from a command line.
It uses the HTTP API to write data and uses Flight gRPC to query data.

### InfluxDB HTTP API

The [InfluxDB HTTP API](/influxdb/v2/reference/api/) provides a simple way to let you manage InfluxDB Clustered and write and query data using HTTP(S) clients.
Examples in this tutorial use cURL, but any HTTP(S) client will work.

The `/write` and `/query` v1-compatible endpoints work with the username/password authentication schemes and existing InfluxDB 1.x tools and code.
The `/api/v2/write` v2-compatible endpoint works with existing InfluxDB 2.x tools and code.

### InfluxDB client libraries

InfluxDB client libraries are community-maintained, language-specific clients that interact with InfluxDB APIs.

[InfluxDB 3 client libraries](/influxdb3/clustered/reference/client-libraries/v3/) are the recommended client libraries for writing and querying data InfluxDB Clustered.
They use the HTTP API to write data and use InfluxDB’s Flight gRPC API to query data.

[InfluxDB v2 client libraries](/influxdb3/clustered/reference/client-libraries/v2/) can use `/api/v2` HTTP endpoints to manage resources such as buckets and API tokens, and write data in InfluxDB Clustered.

[InfluxDB v1 client libraries](/influxdb3/clustered/reference/client-libraries/v1/) can write data to InfluxDB Clustered.

## Authorization

**InfluxDB Clustered requires authentication** using
one of the following [token](/influxdb3/clustered/admin/tokens/) types:

* **Database token**: A token that grants read and write access to InfluxDB
  databases.

* **Management token**: A short-lived (1 hour) [Auth0 token](#) used to
  administer your InfluxDB cluster.
  These are generated by the `influxctl` CLI and do not require any direct management.
  Management tokens authorize a user to perform tasks related to:

  * Account management
  * Database management
  * Database token management
  * Pricing

[Set up InfluxDB](/influxdb3/clustered/get-started/setup/)

[get-started](/influxdb3/clustered/tags/get-started/)
| time | city | country | temperature | humidity |
| --- | --- | --- | --- | --- |
| time | city | country | temperature | humidity |
| 2022-01-01T12:00:00Z | London | UK | 12.0 | 88.4 |
| 2022-01-01T12:00:00Z | Cologne | DE | 13.2 | 88.5 |
| 2022-02-01T12:00:00Z | London | UK | 12.1 | 94.0 |
| 2022-02-01T12:00:00Z | Cologne | DE | 11.5 | 87.8 |
| 2022-03-01T12:00:00Z | London | UK | 11.5 | 82.1 |
| 2022-03-01T12:00:00Z | Cologne | DE | 10.2 | 76.4 |
| 2022-04-01T12:00:00Z | London | UK | 5.9 | 87.6 |
| 2022-04-01T12:00:00Z | Cologne | DE | 7.9 | 93.3 |

| Tool | Administration | Write | Query |
| --- | --- | --- | --- |
| Tool | Administration | Write | Query |
| Chronograf | - | - | ✓ |
| influx  CLI | - | - | - |
| influxctl  CLI * | ✓ | ✓ | ✓ |
| influx3  data CLI * | - | ✓ | ✓ |
| InfluxDB HTTP API * | - | ✓ | ✓ |
| InfluxDB user interface | - | - | - |
| InfluxDB 3 client libraries * | - | ✓ | ✓ |
| InfluxDB v2 client libraries | - | ✓ | - |
| InfluxDB v1 client libraries | - | ✓ | ✓ |
| Telegraf * | - | ✓ | - |
| Third-party tools |  |  |  |
| Flight SQL clients | - | - | ✓ |
| Grafana | - | - | ✓ |
| Superset | - | - | ✓ |
| Tableau | - | - | ✓ |
