elasticfeed

Export csv data into Elasticsearch


Keywords
csv, elasticsearch, python
License
MIT
Install
pip install elasticfeed==0.1.1

Documentation

From csv into Elasticsearch

MIT licensed GitHub stars GitHub forks GitHub issues Downloads

🔨 Installation

 $ sudo pip3 install elasticfeed

🕹 Commandline

elasticfeed  --help 
elasticfeed  --host 127.0.0.1 --port 9200 --username username --password password <full filepath>

🕹 Python Module

from elastic_feeder.controller import FeedElastic
fe = FeedElastic(
        host="hostname or ip address", 
        port="port",
        filename="<full path>",
        index="index name",
        http_auth=('username', 'password'),
        properties={
            "some-name": {
                "type": "some-type",
            },
             "some-name": {
                "type": "some-type",

            },
             "some-name": {
                "type": "some-type",

            }
fe.run()

Supported OS

Linux, MacOS

🌱 Contributing

Feel free to open issue and send pull request.

elasticfeed supports Python >= 3.6