Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 7 days 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 (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-07-31T06:52:08.000Z (over 6 years ago)
- Last Synced: 2024-12-11T02:23:08.140Z (2 months ago)
- Topics: csv, csv2es, elasticsearch, es2csv, golang
- Language: Go
- Homepage:
- Size: 168 KB
- Stars: 0
- Watchers: 2
- 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
```