Installing X-Pack
As X-Pack is an extension of Elastic Stack, prior to installing X-Pack, you need to have both Elasticsearch and Kibana installed. You must run the version of X-Pack that matches the version of Elasticsearch and Kibana.
Installing X-Pack on Elasticsearch
X-Pack is installed just like any plugin to extend Elasticsearch.
These are the steps to install X-Pack in Elasticsearch:
- Navigate to the
ES_HOME
folder. - Install X-Pack using the following command:
$ ES_HOME> bin/elasticsearch-plugin install x-pack
During installation, it will ask you to grant extra permissions to X-Pack, which are required by Watcher to send email alerts and also to enable Elasticsearch to launch the machine learning analytical engine. Specify y
to continue the installation or N
to abort the installation.
You should get the following logs/prompts during installation:
-> Downloading x-pack from elastic [=================================================] 100% @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@...