Updated on 2023-05-30 GMT+08:00

Overview

Elasticsearch clusters support multiple connection modes. You can determine how to access an Elasticsearch cluster based on the programming language used for your services. For more information about the clients used for CSS clusters in different security modes (non-security mode, security mode+HTTP, and security mode+HTTPS), see Table 1.

  • CSS provides visualized Kibana and Cerebro APIs for monitoring and operating clusters. On the CSS console, you can quickly access the Kibana and Cerebro of an Elasticsearch cluster.
  • You can access Elasticsearch clusters by using cURL commands, Java clients, and Python clients. You can also use Hadoop clients to develop complex applications. Elasticsearch provides Java clients, including Rest High Level Client, Rest Low Level Client, and Transport Client. To avoid compatibility issues, use the Java client that matches your Elasticsearch cluster version.
Table 1 Support for access from different clients

Client

Cluster in Non-Security Mode

Cluster in Security Mode + HTTP

Cluster in Security Mode + HTTPS

Kibana

Supported by clusters in all the three modes. To log in to Kibana from a cluster in security mode, enter the username and password for authentication. For details, see Accessing an Elasticsearch Cluster.

Cerebro

Supported by clusters in all the three modes. To log in to Cerebro from a cluster in security mode, enter the username and password for authentication. For details, see Accessing an Elasticsearch Cluster.

cURL

Supported by clusters in all the three modes. For details about the commands used for each mode, see Accessing a Cluster Using cURL Commands.

Java (Rest High Level Client)

Supported by clusters in all the three modes. For details about the commands used for each mode, see Accessing a Cluster Through the Rest High Level Client.

Java (Rest Low Level Client)

Supported by clusters in all the three modes. For details about the commands used for each mode, see Accessing a Cluster Through the Rest Low Level Client.

Java (Transport Client)

Only clusters in non-security mode are supported. For details, see Accessing the Cluster Through the Transport Client.

Not supported

Not supported

Java (Spring Boot)

Supported by clusters in all the three modes. For details about the commands used for each mode, see Using Spring Boot to Access a Cluster.

Python

Supported by clusters in all the three modes. For details about the commands used for each mode, see Accessing a Cluster Using Python.

ES-Hadoop

Supported by clusters in all the three modes. For details about the commands used for each mode, see Using ES-Hadoop to Read and Write Data in Elasticsearch Through Hive.