Elasticsearch CLI client
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for relasticsearch_cli-0.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57bef595c75f10c6792e14abb863cdc190e17601e2fdd440c1ed603dc2ffc7d6 |
|
MD5 | 899f83da6f1742838b62a2330076e840 |
|
BLAKE2b-256 | e4f25244ca0ade55a74994225331fc8f5448c53d3566f782ffe4ad714bba3151 |