Metadata-Version: 2.1
Name: elasticcsv
Version: 0.1.4
Summary: Elasctic load CSV utility
Home-page: 
Author: juguerre
Author-email: juguerre@gmail.com
License: MIT
Platform: UNKNOWN
Description-Content-Type: text/markdown
License-File: LICENSE.txt
Requires-Dist: certifi (==2021.10.8)
Requires-Dist: click (==8.1.3)
Requires-Dist: elasticsearch (==7.17.3)
Requires-Dist: pandas (==1.4.2)
Requires-Dist: python-box (==6.0.2)
Requires-Dist: python-dateutil (==2.8.2)
Requires-Dist: pytz (==2022.1)
Requires-Dist: pyyaml (==6.0)
Requires-Dist: requests (==2.27.1)
Requires-Dist: six (==1.16.0)
Requires-Dist: tqdm (==4.64.0)
Requires-Dist: urllib3 (==1.26.9)
Requires-Dist: numpy (==1.22.3) ; platform_machine != "aarch64" and platform_machine != "arm64" and python_version < "3.10"
Requires-Dist: charset-normalizer (==2.0.12) ; python_version >= "3"
Requires-Dist: idna (==3.3) ; python_version >= "3"

# Elastic CSV Loader

## Install

```shell
pip install --upgrade elasticcsv
```

## Run

### Elastic Connection Config
Connection configuration is based in a YAML text file (`connection.yaml`) that must be present in
command directory.

Sample `connection.yaml`


```yaml
elastic_connection:
  proxies:
    http: "http://user:pass@proxy.url:8080"
    https: "http://user:pass@proxy.url:8080"
  user: myuser
  password: mypassword
  node: my.elastic.node
  port: 9200
```

### Run command

```shell
csv2es load-csv --csv ./pathtomyfile/file.csv --index myindex --sep ";"
```

