Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This section explains the installation and configuration of Elasticsearch (ES) in Windows.

...

9. Start the Zephyr application after making these changes.

Install and configure

...

ES on HTTP(without authentication)

  1. Download Elasticsearch 8.6.2

  2. Unzip the file in the preferred location.

  3. Open the command prompt as administrator and go to {directory}\elasticsearch-8.6.2\bin path.

  4. Run ES with the elasticsearch.bat command.

  5. Stop the Elasticsearch.

  6. Change the SSL security to false in elasticsearch.yml file in config folder as mentioned in the following sample.

    Code Block
    languageyaml
    cluster.name: zephyr
    node.name: node-1
    http.port: 9200
    network.host: 192.168.0.1
    xpack.security.enabled: false
    xpack.security.enrollment.enabled: false
    xpack.security.http.ssl:
      enabled: false 
    xpack.security.transport.ssl:
      enabled: false
    http.host: 0.0.0.0
    indices.query.bool.max_clause_count: 9024
    action.auto_create_index: ".watches,.triggered_watches,.watcher-history-*,-zephyr*,+*"

...

8. Now install Zephyr with Elasticsearch ES URL http://localhost:9200

Install

...

ES on HTTPS (using id and secret key)

  1. Download Elasticsearch 8.6.2

  2. Unzip the file in the preferred location.

...

8. The <apiKey> would be base64 encoding of id:api_key i.e. base64 encoding of o3PG-n0Bf9efLymhVjzN:eR9bKD5OTeywOxovC7It2Q. You can use online utility (Base64 Encode and Decode - Online) for base64 encoding.
9. Install the Zephyr application.

...

Info

You can also install ES on Windows as a service.

To install ES,

  1. Open the command prompt as a user or admin.

  2. Navigate to the <Elasticsearch>/bin folder.

  3. Run the following command:
    elasticsearch-service.bat install

Now check your Windows services. You will see the running Elasticsearch ES service.

Connect Zephyr to

...

ES

Elasticsearch ES must be running before you install Zephyr Enterprise. You connect Zephyr to ES during the product installation. To do this, specify either the IP address of your ES server, or its host name depending on the settings you have specified in the elasticsearch.ymlfile.

...