(Archived) Elasticsearch API

You have tried to access an archived page. Please go to the new https://root360.atlassian.net/wiki/spaces/KB to find more documents.


In order to use the Elasticsearch API, it is necessary to access the Elasticsearch API from a server from the application network (eg web roles).

Cluster Health

Information about the health of the entire cluster.

Command (1):

curl -XGET 'https://ENDPOINT/_cat/health?v' epoch timestamp cluster status node.total node.data shards pri relo init unassign pending_tasks max_task_wait_time active_shards_percent 1491573911 14:05:11 graylog green 4 2 362 182 0 0 0 0 - 100.0%


Node information

Information about the utilization, roles and master assignments of the individual nodes.

Command (2): 

curl -XGET 'https://ENDPOINT/_cat/nodes?v' host ip heap.percent ram.percent load node.role master name 10.69.57.100 10.69.57.100 76 90 0.04 c - graylog-827fd376-d1b5-49f7-8600-dba8338140ae 10.69.57.143 10.69.57.143 65 95 0.72 d * root360-logmonitoring-es02-i-e240205f 10.69.58.21 10.69.58.21 46 96 0.01 c - graylog-5bd0bac2-d712-4038-a682-089810196c11 10.69.57.70 10.69.57.70 58 96 0.13 d m root360-logmonitoring-es01-i-e4402059



Index Informationen

Informationen about status, replication, document cound (existing and deleted) und storage size.

Command (3):

curl -XGET 'https://ENDPOINT/_cat/indices?v' health status index pri rep docs.count docs.deleted store.size pri.store.size green open index_1 1 1 0 0 260b 130b green open index_2 1 1 70 3 572.4kb 286.2kb



allocation

Information about Data Nodes and their HDD utilization, as well as Shard number.

Command (4):



shards

Information about all the shards in the cluster.

Command (5):



(1)  https://www.elastic.co/guide/en/elasticsearch/reference/2.3/cat-health.html

(2)  https://www.elastic.co/guide/en/elasticsearch/reference/2.3/cat-nodes.html

(3) https://www.elastic.co/guide/en/elasticsearch/reference/2.3/cat-indices.html

(4)  https://www.elastic.co/guide/en/elasticsearch/reference/2.3/cat-allocation.html

(5)  https://www.elastic.co/guide/en/elasticsearch/reference/2.3/cat-shards.html

 

root360 Knowledge Base - This portal is hosted by Atlassian (atlassian.com | Privacy Policy)