Skip to content

Commit

Permalink
[Doc] Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Bugazelle committed Nov 23, 2019
1 parent 8f73070 commit 894080c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ You could use `export_csv_to_influx -h` to see the help guide.
-p, --password, InfluxDB Password. Default: admin
-db, --dbname, InfluxDB Database name. **Mandatory**
-m, --measurement, Measurement name. **Mandatory**
-t, --time_column, Timestamp column name. Default: timestamp. If no timestamp column, the timestamp is set to the last file modify time for whole csv rows.
-t, --time_column, Timestamp column name. Default column name: timestamp. If no timestamp column, the timestamp is set to the last file modify time for whole csv rows.
> Note: Also support the pure timestamp, like: 1517587275. Auto detected.
-tf, --time_format, Timestamp format. Default: '%Y-%m-%d %H:%M:%S' e.g.: 1970-01-01 00:00:00.
-tz, --time_zone, Timezone of supplied data. Default: UTC.
-fc, --field_columns, List of csv columns to use as fields, separated by comma. **Mandatory**
Expand Down
3 changes: 2 additions & 1 deletion 中文说明.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ pip install ExportCsvToInflux
-p, --password, influx密码, 默认: admin
-db, --dbname, influx数据库名 **强制**
-m, --measurement, influx数据表名 **强制**
-t, --time_column, 时间戳列. 默认: timestamp. 如果不存在时间戳列, 自动使用文件最新的修改日期作为时间戳
-t, --time_column, 时间戳列. 默认列名: timestamp. 如果不存在时间戳列, 自动使用文件最新的修改日期作为时间戳
> 注意: 同时也支持纯的timestamp, 比如: 1517587275. 系统自动判断.
-tf, --time_format, 时间戳格式. 默认: '%Y-%m-%d %H:%M:%S' 比如: 1970-01-01 00:00:00.
-tz, --time_zone, 时区. 默认: UTC
-fc, --field_columns, field列, 如果多列, 使用英文逗号 ',' 作为分隔符. **强制**
Expand Down

0 comments on commit 894080c

Please sign in to comment.