Open juliaabra opened 5 years ago
This happens because you are trying to load a gzipped file and tsbs_load_influx doesn't expect zipped data-
If you take a look in /scripts/load_influx.sh you can see that it runs
cat ${DATA_FILE} | gunzip | $EXE_FILE_NAME \ --db-name=${DATABASE_NAME} \ --backoff=${BACKOFF_SECS} \ --workers=${NUM_WORKERS} \ --batch-size=${BATCH_SIZE} \ --reporting-period=${REPORTING_PERIOD} \ --urls=http://${DATABASE_HOST}:${DATABASE_PORT}
Where gunzip is the missing step in what you are running.
The docs could definitely be updated to show this as we also ran into this issue.
Hello guys,
data and query generation works fine, but by using the tsbs_load_influx binary, following error occurs: Even with supplying all arguments, the error remains: Obviously, a database is created (here seen in chronograf): But no results can be shown: The .csv file is also empty, showing only the row names but no measurement values. When processing as described in the documentation, the file is correctly written, but this does not apply to the binary.