Authentication Support for Datastore

Here’s how you can enable authentication in Datastore.

  1. Install x-pack plugin for security. After downloading x-pack, perform the following:

    • Navigate to [Performance Monitoring Toolset_installation_folder]/datastore/bin.
    • Open up CLI and enter- elasticsearch-plugin install x-pack.

    The default username is elastic and password is changeme.

  2. Start the Datastore.

  3. To confirm Datastore authentication, launch Datastore using a browser. You will need to enter the username and password.

  4. Update the Datastore authentication details in Performance Monitoring Toolset. Follow the steps below:

    • Navigate to [Performance Monitoring Toolset_installation_folder]/ bin folder.
    • Open up CLI and run the batch file datastore.bat and enter the host and port details.

    Set authentication to true and SSL to false. 

  5. Start Performance Monitoring Toolset service. 

SSL support for Datastore

  1. Install x-pack plugin for security. After downloading x-pack, perform the following:

    1. Navigate to [Performance Monitoring Toolset_installation_folder]/datastore/bin.
    2. Open up CLI and enter- elasticsearch-plugin install x-pack.
    3. The default username is elastic and password is changeme.
  2. In the file elasticsearch.yml (Performance Monitoring Toolset_installation_folder\datastore\config), update the following:

    • xpack.security.enabled: true
    • xpack.security.http.ssl.enabled: true
    • xpack.ssl.key: /path/to/abc.key
    • xpack.ssl.certificate: /path/to/abc.crt
    • xpack.ssl.certificate_authorities: /path/to/abc.crt

    Notă:

    Add the same certificate in the Java keystore which is used in both ColdFusion and Performance Monitoring Toolset.

  3. Restart Datastore.

  4. Update the Datastore authentication details in Performance Monitoring Toolset. Follow the steps below:

    • Navigate to [Performance Monitoring Toolset_installation_folder]/ bin folder.
    • Open up CLI and run the batch file datastore.bat and enter the host and port details.
    • Set authentication to true and SSL to true. If SSL is enabled, Authentication can’t be false.
  5. Restart Performance Monitoring Toolset.

Notă:

When installing x-pack, datastore may capture some data that may consume lots of disk space. Set the flag xpack.watcher.enable to false. For more information, see this document.