mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-03-27 03:14:56 +01:00
1.3 KiB
1.3 KiB
elasticsearch
This plugin makes easy to use Elasticsearch API and it also offering autocomplete for common APIs.
There are GET,
HEAD,
DELETE,
PUT and
POST commands.
Examples usage:
GET _cluster/healthGET _nodes/statsGET _stats/fielddata?fields=*GET _nodes/stats/indices/fielddata?fields=*GET _catDELETE twitter
You should install json_reformat to format json output.
Aliases
alias ech='GET _cluster/health': Cluster status healthalias ecs='GET _cluster/state': Allows to get a comprehensive state information of the whole clusteralias ens='GET _nodes/stats': Allows to retrieve all of the cluster nodes statisticsalias esf='GET _stats/fielddata': Field data memory usage on index level
Author
Fedele Mantuano (Twitter: @fedelemantuano)