Install X-Pack


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.


Start 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.


Generate default passwords

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

Note the passwords for elastic and kibana users


Install X-Pack into Kibana

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

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.


Start Kibana

Copy to Clipboard

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

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


Dive in


Version: 6.2.4

Release date:

License: Elastic Commercial Software End User License Agreement

Supported OS/JVM/Browser


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.

  • "all": "Elastic Cloud"

    Want it hosted? Deploy on Elastic Cloud.

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

  • "en": "Paper airplane", 
"cn": "纸飞机", 
"de": "Papierflugzeug", 
"es": "Avión de papel", 
"fr": "Avion en papier", 
"jp": "紙飛行機", 
"kr": "종이 비행기", 
"pt": "Aviãozinho de papel"

    New around here?

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