https://github.com/ibbd-dev/csv2es
the data import/export tool between elasticsearch and csv for golang
https://github.com/ibbd-dev/csv2es
csv csv2es elasticsearch es2csv golang
Last synced: 8 months ago
JSON representation
the data import/export tool between elasticsearch and csv for golang
- Host: GitHub
- URL: https://github.com/ibbd-dev/csv2es
- Owner: ibbd-dev
- License: mit
- Created: 2018-06-21T08:37:33.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-07-31T06:52:08.000Z (over 7 years ago)
- Last Synced: 2025-03-30T05:25:12.591Z (about 1 year ago)
- Topics: csv, csv2es, elasticsearch, es2csv, golang
- Language: Go
- Homepage:
- Size: 168 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# csv2es: the data import/export tool between es and csv
elasticsearch与csv之间的数据导入导出工具
说明:
- 现在版本只支持`elasticsearch 5.*`版本
- 该工具只是实现对数据的导入导出,并不包含相关的ETL过程。
## Install
```sh
go get -u github.com/ibbd-dev/csv2es/csv2es
```
## Example
```sh
# help
csv2es --help
# import data to es from csv
csv2es import --host=locahost --port=9200 --mapping=mapping_filename.json --index=test --type=test --csv=source.csv
# export data to csv from es
csv2es export --host=locahost --port=9200 --index=test --csv=source.csv
```