Documentation

Sample data

Sample datasets are used throughout the InfluxDB Cloud Dedicated 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 Cloud Dedicated 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.

Read more

InfluxDB v3 enhancements and InfluxDB Clustered is now generally available

New capabilities, including faster query performance and management tooling advance the InfluxDB v3 product line. InfluxDB Clustered is now generally available.

InfluxDB v3 performance and features

The InfluxDB v3 product line has seen significant enhancements in query performance and has made new management tooling available. These enhancements include an operational dashboard to monitor the health of your InfluxDB cluster, single sign-on (SSO) support in InfluxDB Cloud Dedicated, and new management APIs for tokens and databases.

Learn about the new v3 enhancements


InfluxDB Clustered general availability

InfluxDB Clustered is now generally available and gives you the power of InfluxDB v3 in your self-managed stack.

Talk to us about InfluxDB Clustered