Skip to content

Commit 0533ed3

Browse files
committed
Adding InfluxDB import command for shampoo data
1 parent 296cbed commit 0533ed3

File tree

4 files changed

+4
-12
lines changed

4 files changed

+4
-12
lines changed

python/ec2_cpu_utilization/README.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,5 @@ Place data set in the local data directory. View the [references.md](references.
55
## Importing to InfluxDB
66

77
```
8-
csv-to-influxdb.py -i $(pwd)/data/ec2_cpu_utilization_5f5533.csv -s ${INFLUXDB_HOST}:8086 -tc timestamp \
9-
--metricname value --fieldcolumns value --dbname ec2 --create \
10-
-b 5000
8+
csv-to-influxdb.py -i $(pwd)/data/ec2_cpu_utilization_5f5533.csv -s ${INFLUXDB_HOST}:8086 -tc timestamp --metricname value --fieldcolumns value --dbname ec2 --create -b 5000
119
```

python/nasa_bearings/README.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,5 @@ Place data set in the local data directory. View the [references.md](references.
55
## Importing to InfluxDB
66

77
```
8-
csv-to-influxdb.py -i $(pwd)/data/merged_dataset_BearingTest_2.csv -s ${INFLUXDB_HOST}:8086 -tc timestamp \
9-
--metricname value --fieldcolumns 'Bearing 1','Bearing 2','Bearing 3','Bearing 4' --dbname nasa --create \
10-
-b 5000
8+
csv-to-influxdb.py -i $(pwd)/data/merged_dataset_BearingTest_2.csv -s ${INFLUXDB_HOST}:8086 -tc timestamp --metricname value --fieldcolumns 'Bearing 1','Bearing 2','Bearing 3','Bearing 4' --dbname nasa --create -b 5000
119
```

python/shampoo_sales/README.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,5 @@ Place data set in the local data directory. View the [references.md](references.
55
## Importing to InfluxDB
66

77
```
8-
csv-to-influxdb.py -i $(pwd)/data/shampoo.csv -s ${INFLUXDB_HOST}:8086 -tc Month \
9-
--metricname value --fieldcolumns Sales --dbname shampoo_sales --create \
10-
-b 5000
8+
csv-to-influxdb.py -i $(pwd)/data/shampoo.csv -s ${INFLUXDB_HOST}:8086 -tc Month -tf '%Y-%m-%d' --metricname value --fieldcolumns Sales --dbname shampoo_sales --create -b 5000
119
```

python/ts_price_anomaly_detection/README.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,5 @@ Place data set in the local data directory. View the [references.md](references.
55
## Importing to InfluxDB
66

77
```
8-
csv-to-influxdb.py -i $(pwd)/data/train.csv -s ${INFLUXDB_HOST}:8086 -tc date_time \
9-
--metricname price_usd --fieldcolumns price_usd --dbname hotels --create \
10-
-b 10000 --tagcolumns srch_saturday_night_bool, srch_booking_window
8+
csv-to-influxdb.py -i $(pwd)/data/train.csv -s ${INFLUXDB_HOST}:8086 -tc date_time --metricname price_usd --fieldcolumns price_usd --dbname hotels --create -b 10000 --tagcolumns srch_saturday_night_bool, srch_booking_window
119
```

0 commit comments

Comments
 (0)