Added environment variable to change client node to query

This commit is contained in:
Fedele Mantuano 2016-03-30 01:58:26 +02:00
commit 9b983f3c6b
3 changed files with 20 additions and 8 deletions

View file

@ -1,4 +1,4 @@
elasticsearch
Elasticsearch
=======
This plugin makes easy to use Elasticsearch API and it also offering autocomplete for common APIs.
There are [`GET`](https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-get.html),
@ -17,6 +17,15 @@ Examples usage:
You should install [`json_reformat`](http://dev.man-online.org/package/main/yajl-tools/) to format json output.
Instructions
-------
If you'd prefer to specify an explicit Elasticsearch node client to query, you can set variable like so in `.zshrc`:
`export CLIENT_ELK_NODE=client_node`
Default is `localhost`.
Aliases
-------