how to find big csv file for test or generate one? i search 3gb csv or how generate one?
this is a test for replica
i try with this but non import data :
cat prova.sh
#!/bin/bash
Variabili
#D:ATABASE_NAME=“myDatabase”
MEASUREMENT_NAME=“measurement”
FIELD_NAME=“value”
START_TIME=1661161200 # 2023-08-29T00:00:00Z
END_TIME=1661247600 # 2023-08-30T00:00:00Z
NUM_POINTS=1000
DATA_RANGE=10Intestazione CSV
echo “measurement,time,$FIELD_NAME” > influxdb_data.csv
Genera i dati casuali
timestamp=$START_TIME
while [ $timestamp -le $END_TIME ]; do
value=$(($RANDOM % $DATA_RANGE))
data_point=“$MEASUREMENT_NAME,$timestamp,$value”
echo $data_point >> influxdb_data.csvtimestamp=$((timestamp + 60))
done
influx write --bucket prova --format=csv --file influxdb_data.csv
2024/06/21 11:12:31 line 1441: no measurement column found
2024/06/21 11:12:31 Unable to batcher to error-file: invalid argument
2024/06/21 11:12:31 line 1442: no measurement column found
2024/06/21 11:12:31 Unable to batcher to error-file: invalid argument