#elasticsearch #download #cli-tool #scroll #tool #es

app estunnel

Tool for downloading data from elasticsearch cluster

18 stable releases

1.8.6 Dec 31, 2020
1.8.6-rc.1 Sep 16, 2020
1.8.4 Aug 10, 2020
1.7.1 Aug 17, 2019
1.6.3 May 24, 2019

#1427 in Database interfaces

MIT license

25KB
554 lines

estunnel

Build Platform License

estunnel is a CLI tool written by rust for downloading data from elasticsearch.

Command-line options

USAGE:
    estunnel pull [OPTIONS] --index <index> --query <query>

FLAGS:
        --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -b, --batch <batch>      Scroll batch size. Size in query will be used if null.
    -h, --host <host>        ElasticSearch host url [default: http://localhost:9200]
    -i, --index <index>      Target index name(or alias)
    -o, --output <output>    File path for output [default: /dev/stdout]
    -q, --query <query>      File path for query body
    -s, --slice <slice>      Scroll slice count [default: 1]
        --ttl <ttl>          Scroll session ttl [default: 1m]
    -u, --user <user>        Username for http basic authorization

This is the output of estunnel pull --help.

License

MIT (c) Wenxuan Zhang

Dependencies

~17–35MB
~564K SLoC