Installing the Search Guard plug-in for Elasticsearch

Install the Search Guard plug-in to provide security features for Elasticsearch.

Before you begin

This task only applies to a stand-alone Elasticsearch deployment. If you installed Elasticsearch as part of the Component Pack for HCL Connections, skip this task.

About this task

Search Guard is an open source Elasticsearch plug-in that provides encryption, authentication, and authorization capabilities. When used in a Connections deployment, Elasticsearch requires Search Guard version 5.5.1.

Procedure

  1. Install Search Guard v5.5.1 with the following command:
     Elasticsearch_install_path/bin/elasticsearch-plugin install -b com.floragunn:search-guard-5:5.5.1-16

    For detailed installation instructions, see the Search Guard Installation guide.

  2. Apply the fix for Search Guard performance improvements on all Elasticsearch nodes by completing the following steps:
    1. Navigate to the Search Guard plug-in directory at: Elasticsearch_install_path/plugins/search-guard-5
    2. Run the following command:
      wget https://dl.bintray.com/floragunncom/netty-tcnative/netty-tcnative-openssl-1.0.2l-static-2.0.5.Final-non-fedora-linux-x86_64.jar
    3. Verify that the JAR file was downloaded successfully.