ohmyzsh/plugins/elasticsearch
2015-09-04 22:35:05 +02:00
..
_GET Added README.md 2015-08-31 17:11:13 +02:00
elasticsearch.plugin.zsh Moved comments in README.md 2015-09-04 22:35:05 +02:00
README.md Moved comments in README.md 2015-09-04 22:35:05 +02:00

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/health
  • GET _nodes/stats
  • GET _stats/fielddata?fields=*
  • GET _nodes/stats/indices/fielddata?fields=*
  • GET _cat
  • DELETE twitter

You should install json_reformat to format json output.

Aliases

  • alias ech='GET _cluster/health': Cluster status health
  • alias ecs='GET _cluster/state': Allows to get a comprehensive state information of the whole cluster
  • alias ens='GET _nodes/stats': Allows to retrieve all of the cluster nodes statistics
  • alias esf='GET _stats/fielddata': Field data memory usage on index level

Author

Fedele Mantuano (Twitter: @fedelemantuano)