Documentation

Sample data

Limited availability

InfluxDB Clustered is currently only available to a limited group of InfluxData customers. If interested in being part of the limited access group, please contact the InfluxData Sales team.

Sample datasets are used throughout the InfluxDB Clustered documentation to demonstrate functionality. Use the following sample datasets to replicate provided examples.

Get started home sensor data

Includes hourly home sensor data used in the Get started with InfluxDB Clustered guide. This dataset includes anomalous sensor readings and helps to demonstrate processing and alerting on time series data. To customize timestamps in the dataset, use the button in the lower right corner of the page. This lets you modify the sample dataset to stay within the retention period of the database you write it to.

Time Range

2022-01-01T08:00:00Z to 2022-01-01T20:00:00Z (Customizable)

Schema
  • home (measurement)
    • tags:
      • room
        • Kitchen
        • Living Room
    • fields:
      • co (integer)
      • temp (float)
      • hum (float)

Write home sensor data to InfluxDB

Home sensor actions data

Includes hypothetical actions triggered by data in the Get started home sensor data and is a companion dataset to that sample dataset. To customize timestamps in the dataset, use the button in the lower right corner of the page. This lets you modify the sample dataset to stay within the retention period of the database you write it to.

Time Range

2022-01-01T08:00:00Z to 2022-01-01T20:00:00Z (Customizable)

Schema
  • home_actions (measurement)
    • tags:
      • room
        • Kitchen
        • Living Room
      • action
        • alert
        • cool
      • level
        • ok
        • warn
    • fields:
      • description (string)

Write home sensor actions data to InfluxDB

NOAA Bay Area weather data

Includes daily weather metrics from three San Francisco Bay Area airports from January 1, 2020 to December 31, 2022. This sample dataset includes seasonal trends and is good for exploring time series use cases that involve seasonality.

Time Range

2020-01-01T00:00:00Z to 2022-12-31T00:00:00Z

Schema
  • weather (measurement)
    • tags:
      • location
        • Concord
        • Hayward
        • San Francisco
    • fields
      • precip (float)
      • temp_avg (float)
      • temp_max (float)
      • temp_min (float)
      • wind_avg (float)

Write the NOAA Bay Area weather data to InfluxDB

Bitcoin price data

The Bitcoin price sample dataset provides Bitcoin prices from 2023-05-01T00:00:00Z to 2023-05-15T00:00:00ZPowered by CoinDesk.

Time Range

2023-05-01T00:19:00Z to 2023-05-14T23:48:00Z

Schema
  • bitcoin (measurement)
    • tags:
      • code
        • EUR
        • GBP
        • USD
      • crypto
        • bitcoin
      • description
        • Euro
        • British Pound Sterling
        • United States Dollar
      • symbol
        • € (€)
        • £ (£)
        • $ ($)
    • fields
      • price (float)

Write the Bitcoin sample data to InfluxDB

Random numbers sample data

Includes two fields with randomly generated numbers reported every minute. Each field has a specific range of randomly generated numbers. This sample dataset is used to demonstrate mathematic operations and transformation functions.

Time Range

2023-01-01T00:00:00Z to 2023-01-01T12:00:00Z

Schema
  • numbers (measurement)
    • fields
      • a (float between -1 and 1)
      • b (float between -3 and 3)

Write the random number sample data to InfluxDB


Was this page helpful?

Thank you for your feedback!


The future of Flux

Flux is going into maintenance mode. You can continue using it as you currently are without any changes to your code.

Flux is going into maintenance mode and will not be supported in InfluxDB 3.0. This was a decision based on the broad demand for SQL and the continued growth and adoption of InfluxQL. We are continuing to support Flux for users in 1.x and 2.x so you can continue using it with no changes to your code. If you are interested in transitioning to InfluxDB 3.0 and want to future-proof your code, we suggest using InfluxQL.

For information about the future of Flux, see the following: