Documentation

Sample data

Use sample data to familiarize yourself with time series data and InfluxDB. InfluxData provides many sample time series datasets to use with InfluxDB.

Sample data sets

The following sample data sets are used as examples in InfluxDB query guides and can be used with InfluxDB OSS or InfluxDB Cloud.

Air sensor sample data

Air sensor sample data represents an “Internet of Things” (IoT) use case by simulating temperature, humidity, and carbon monoxide levels for multiple rooms in a building. The dataset also includes a relational SQL dataset with meta information about sensors in each room.

View air sensor sample data

Used in Query SQL data sources.

Bird migration sample data

Bird migration data is adapted from the Movebank: Animal Tracking data set on Kaggle and represents animal migratory movements throughout 2019. Use the Flux Geo package to query and analyze the geo-temporal data in this sample data set.

View bird migration sample data

Used in Work with geo-temporal data.

NOAA water sample data

This data set is publicly available data from the National Oceanic and Atmospheric Administration’s (NOAA) Center for Operational Oceanographic Products and Services.

The CSV data includes 15,258 observations of water levels (ft) collected every six minutes at two stations (Santa Monica, CA (ID 9410840) and Coyote Creek, CA (ID 9414575)) over the period from August 18, 2015 through September 18, 2015.

To avoid having to re-download this 10MB dataset every time you run a query, we recommend that you create a new bucket (noaa) and write the NOAA data to it. We also recommend updating the timestamps of the data to be relative to now(). To do so, run the following:

import "experimental/csv"

relativeToNow = (tables=<-) =>
  tables
    |> elapsed()
    |> sort(columns: ["_time"], desc: true)
    |> cumulativeSum(columns: ["elapsed"])
    |> map(fn: (r) => ({ r with _time: time(v: int(v: now()) - (r.elapsed * 1000000000))}))

csv.from(url: "https://influx-testdata.s3.amazonaws.com/noaa.csv")
  |> relativeToNow()
  |> to(bucket: "noaa", org: "example-org")

Used in Common queries and Common tasks.


Cloud or OSS?

InfluxDB OSS 2.0 now generally available!

InfluxDB OSS 2.0 is now generally available and ready for production use. See the InfluxDB OSS 2.0 release notes.

For information about upgrading to InfluxDB OSS 2.0, see: