How do I find where ElasticSearch is installing my plugins?

后端 未结 4 1954
梦谈多话
梦谈多话 2021-01-30 00:51

I have installed elasticsearch with brew install elasticsearch. My plugins seem to reside in /usr/local/Cellar/elasticsearch/0.19.8/plugins. With

4条回答
  •  情歌与酒
    2021-01-30 01:27

    To find your elasticsearch home directory & install plugin(s) follow these steps below.

    Locate your home directory ( Look for Settings -> Path -> Home for value )

    $ curl "localhost:9200/_nodes/settings?pretty=true"
    

    Goto Location (Example settings.path.home value: /usr/local/Cellar/elasticsearch/1.5.0)

    $ cd /usr/local/Cellar/elasticsearch/1.5.0
    

    Install Plugin (Example plugin: mobz/elasticsearch-head)

    $ bin/plugin -install mobz/elasticsearch-head
    

提交回复
热议问题