NetApp Closes Acquisition of Instaclustr Read the announcement

Connecting to OpenSearch Using cURL

In this example, we will use curl command to communicate with the OpenSearch cluster.

Prerequisites

Before making a curl request to the cluster, you first need to add your public IP to your cluster firewall rules. For more details on how to connect to your cluster click here.
  1.  The following command demonstrates how to create a user.
  2. The following command demonstrates how to map a role to the user created above.
  3. The following command demonstrates how to change the password for a user.
  4. The following command demonstrates how to index a document (The index ‘testing’ will automatically be created if it does not exist).
  5. The following command demonstrates how to retrieve the document indexed in the previous step.
By Instaclustr Support
Need Support?
Experiencing difficulties on the website or console?
Already have an account?
Need help with your cluster?
Contact Support
Why sign up?
To experience the ease of creating and managing clusters via the Instaclustr Console
Spin up a cluster in minutes