Install X-Pack

1

Install X-Pack into Elasticsearch

bin/elasticsearch-plugin install x-pack
Copy to Clipboard

To install X-Pack on a DEB/RPM installation of the Elastic Stack, see DEB/RPM installation instructions. If you are using the Windows MSI Installer package, you will have the option to install X-Pack during the plugins installation step.

2

Start Elasticsearch

bin/elasticsearch
Copy to Clipboard

Note: If you are installing X-Pack on a multiple node cluster, please follow the instructions to generate certificates and configuring TLS for encrypted communication. This step is required on multi node clusters.

3

Generate default passwords

bin/x-pack/setup-passwords auto
Copy to Clipboard

Note the passwords for elastic and kibana users

4

Install X-Pack into Kibana

bin/kibana-plugin install x-pack
Copy to Clipboard
5

Add credentials to the kibana.yml file

elasticsearch.username: "kibana"
Copy to Clipboard
elasticsearch.password: "<pwd>"
Copy to Clipboard

<pwd> is the password for the kibana user auto generated in step 3. If you set up TLS in step 2, also add your certificates to the kibana.yml file.

6

Start Kibana

bin/kibana
Copy to Clipboard
7

Navigate to Kibana at http://localhost:5601/

Log in as the built-in elastic user with the auto-generated password from step 3

8

Dive in

Summary

Version: 6.2.4

Release date:

License: Elastic Commercial Software End User License Agreement

Supported OS/JVM/Browser

Notes:

The following installation instructions are only valid for versions 6.2 and older. In versions 6.3 and later, X-Pack is included with the default distributions of Elastic Stack, with all free features enabled by default. An opt-in trial is available to enable subscription features.

Running a cluster without internet access? See our offline installation instructions.

  • Elastic Cloud

    Want it hosted? Deploy on Elastic Cloud.

    Try it out for free for 14 days — no credit card required.

  • Get started with the Elastic Stack

    New around here?

    View our getting started page to get acquainted with the Elastic Stack.