influxd generate simple

The influxd generate simple command generates and writes a simple data set using reasonable defaults and command line interface (CLI) flags.

Important notes

  • influxd generate simple cannot run while the influxd server is running. The generate command modifies index and Time-Structured Merge Tree (TSM) data.
  • Use influxd generate simple for development and testing purposes only. Do not run it on a production server.


influxd generate simple [flags]


FlagDescriptionInput Type
--printPrint data spec and exit
--orgOrganization namestring
--bucketBucket namestring
--start-timeStart time (YYYY-MM-DDT00:00:00Z) (default is 00:00:00 of one week ago)string
--end-timeEnd time (YYYY-MM-DDT00:00:00Z) (default is 00:00:00 of current day)string
--cleanClean time series data files (none, tsm or all) (default none)string
--cpuprofileCollect a CPU profilestring
--memprofileCollect a memory profilestring
-h--helpHelp for the simple command

New! 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: