2021-08-19 17:07:52 +00:00
|
|
|
# `iox_data_generator`
|
|
|
|
|
|
|
|
The `iox_data_generator` tool creates random data points according to a specification and loads them
|
|
|
|
into an `iox` instance to simulate real data.
|
|
|
|
|
|
|
|
To build and run, [first install Rust](https://www.rust-lang.org/tools/install). Then from root of the `influxdb_iox` repo run:
|
|
|
|
|
|
|
|
```
|
|
|
|
cargo build --release
|
|
|
|
```
|
|
|
|
|
|
|
|
And the built binary has command line help:
|
|
|
|
|
|
|
|
```
|
2021-08-19 19:22:51 +00:00
|
|
|
./target/release/iox_data_generator --help
|
2021-08-19 17:07:52 +00:00
|
|
|
```
|
|
|
|
|
2021-11-26 11:38:40 +00:00
|
|
|
For examples of specifications see the [schemas folder](schemas). The [full_example](schemas/full_example.toml) is the
|
2021-11-03 19:43:56 +00:00
|
|
|
most comprehensive with comments and example output.
|