Skip to content

A simple script to help importing NDJSON files into Elasticsearch.

License

Notifications You must be signed in to change notification settings

k4yt3x/esimportndjson

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

esimportndjson

esimportndjson is a simple script which can help importing NDJSON files into Elasticsearch.

screenshot

Usages

usage: esimport [-h] -i INPUT --index INDEX [--host HOST] [--port PORT]
                [-u USER] [-p PASSWORD] [-s] [--insecure]
                [--disable-file-length-count]

optional arguments:
  -h, --help            show this help message and exit
  -i INPUT, --input INPUT
                        input file path or input directory path (default:
                        None)
  --index INDEX         name of the Elasticsearch index to import into
                        (default: None)
  --host HOST           Elasticsearch instance hostname or IP (default:
                        127.0.0.1)
  --port PORT           Elasticsearch listening port (default: 9200)
  -u USER, --user USER  Elasticsearch username (default: None)
  -p PASSWORD, --password PASSWORD
                        Elasticsearch password (default: None)
  -s, --ssl             enable SSL (default: False)
  --insecure            disable SSL certificate verifications (default: True)
  --disable-file-length-count
                        do not count file length in progress bar, may save
                        some time for large files (default: False)

About

A simple script to help importing NDJSON files into Elasticsearch.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages