Verifying the OpenSearch Installation on Microsoft Windows

The OpenSearch deployment sets up a Windows service.

Note:

OpenSearch Dashboards as a service is not available for Microsoft Windows.

To verify the installation:

  1. Launch the Services dialog box, for example by opening Task Manager and selecting the Services tab.

  2. Verify that the “opensearch-service-x64” service is present and has status “Running.”

  3. If the OpenSearch service is not listed, you can start it manually:

    1. Open a command prompt.

    2. Go to OSK_HOME\bin and enter the following command:

      opensearch-service.bat install
    3. Start the service with the following command:

      opensearch-service.bat start

After verifying the service, use one of the following methods to verify the OpenSearch installation.

  • Run a REST call.

    This example uses the CURL utility to run the REST call:

    curl --user <username>:<password> -XGET http://<host>:<port>

    For details about the correct usage of the CURL utility, see your operating system documentation.

  • Open a browser and enter the URL: http://<host>:<port>/

    Supply the username and password in the dialog box that appears.

Use these definitions for both methods:

  • username — the OpenSearch user administrator you specified during the DPK setup script installation

  • password — the password you entered during the DPK setup script installation

  • host — the OpenSearch host name

  • port — the OpenSearch HTTP (REST) port that you entered during the DPK setup script installation

When using either method, you should see a message similar to the following:

{
  "name" : "server.example.com",
  "cluster_name" : "OSCLUSTER",
  "cluster_uuid" : "IvQKVvLjQiKUwBAMk6Hy7w",
  "version" : {
    "distribution" : "opensearch",
    "number" : "2.11.0",
    "build_type" : "zip",
    "build_hash" : "aa8cdda4ea0da22834936ae7f90f8586b9999c43",
    "build_date" : "2024-02-07T13:36:46.831959Z",
    "build_snapshot" : false,
    "lucene_version" : "9.7.0",
    "minimum_wire_compatibility_version" : "7.10.0",
    "minimum_index_compatibility_version" : "7.0.0"
  },
  "tagline" : "The OpenSearch Project: https://opensearch.org/"
}