Connecting to Elasticsearch Using cURL

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

Prerequisites

Before making a curl request to the cluster, you first need to whitelist your public IP on your cluster. For more details on how to connect to your cluster click here.

Following are few curl example to communicate with your cluster

Checking your cluster health

Creating indices

Deleting Indices

Need Support
Learn More

Already have an account?
Login to the Console

Experiencing difficulties on the website or console?
Status page for known incidents


Don’t have an account yet?
Sign up for a free trial

Why sign up?
To experience the ease of creating and managing clusters via the Instaclustr Console.