mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-04-17 04:29:14 +02:00
Added environment variable to change client node to query
This commit is contained in:
parent
e806b1ae60
commit
9b983f3c6b
3 changed files with 20 additions and 8 deletions
|
|
@ -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
|
||||
-------
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue