Elasticsearch CLI
Elasticsearch CLI client
Overview
This is a thin CLI wrapper around the ES API. Supports AWS IAM authentication.
Install
pip3 install relasticsearch-cli
To install with AWS IAM support,
pip3 install relasticsearch-cli[aws]
Usage
usage: es [-h] [--body BODY] [--aws-auth AWS_AUTH]
[--aws-domain AWS_DOMAIN] [--endpoint ENDPOINT]
[--username USERNAME]
{DELETE,GET,HEAD,PATCH,POST,PUT} path
positional arguments:
{DELETE,GET,HEAD,PATCH,POST,PUT}
HTTP method
path
optional arguments:
-h, --help show this help message and exit
--body BODY Request body
--aws-auth AWS_AUTH
--aws-domain AWS_DOMAIN
AWS domain
--endpoint ENDPOINT Endpoint URL, without the path
--username USERNAME Username for basic auth
Example
List indices:
es --endpoint http://localhost:9200 GET /_cat/indices
green open .kibana_1 XTv6AdigRqWMafUfInRsTg 1 1
List indices for AWS Elasticsearch:
es --aws-domain example GET /_cat/indices
Metadata
Release files for relasticsearch-cli 0.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| relasticsearch-cli-0.0.0.tar.gz | 2.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| relasticsearch_cli-0.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.6 kB
Release files / relasticsearch-cli-0.0.0.tar.gz
| Download URL | relasticsearch-cli-0.0.0.tar.gz |
|---|---|
| Size | 2.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9d82f202c9e9b9d4cd8e7538b69bafc2e09babf4791105cdba1f679c12e64d77
|
|
BLAKE2b-256 checksum How to use checksums |
86c19919853c8025ca7c67195193655e52720b04327f3bae61b8a902312c64f7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.10
|
Release files / relasticsearch_cli-0.0.0-py3-none-any.whl
| Download URL | relasticsearch_cli-0.0.0-py3-none-any.whl |
|---|---|
| Size | 2.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
57bef595c75f10c6792e14abb863cdc190e17601e2fdd440c1ed603dc2ffc7d6
|
|
BLAKE2b-256 checksum How to use checksums |
e4f25244ca0ade55a74994225331fc8f5448c53d3566f782ffe4ad714bba3151
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.10
|