2199
|
1 |
|
|
2 |
===============
|
|
3 |
elasticsearch
|
|
4 |
===============
|
|
5 |
|
|
6 |
REST syntax conventions
|
|
7 |
=======================
|
|
8 |
|
|
9 |
To get data in table form use ``/_cat`` endpoint::
|
|
10 |
|
|
11 |
GET /_cat/nodes
|
|
12 |
|
|
13 |
To pretty print output append query::
|
|
14 |
|
|
15 |
?pretty=1
|
|
16 |
|
|
17 |
Get base information
|
|
18 |
====================
|
|
19 |
|
|
20 |
Cluster health::
|
|
21 |
|
|
22 |
GET /_cat/health?v
|
|
23 |
|
|
24 |
List of nodes in cluster::
|
|
25 |
|
|
26 |
GET /_cat/nodes?v
|
|
27 |
GET /_cat/master?v
|
|
28 |
|
|
29 |
List of indexes::
|
|
30 |
|
|
31 |
GET /_cat/indices
|
|
32 |
GET /_cat/indices?v
|
|
33 |
GET /_cat/indices?v&s=index
|
|
34 |
|
|
35 |
List of mappings across all indexes::
|
|
36 |
|
|
37 |
GET /_mapping
|
|
38 |
GET /_all/_mapping
|
|
39 |
|
|
40 |
https://www.elastic.co/guide/en/elasticsearch/reference/current/_cluster_health.html
|
|
41 |
Cluster Health.
|
|
42 |
https://www.elastic.co/guide/en/elasticsearch/reference/current/_list_all_indices.html
|
|
43 |
List All Indices.
|
|
44 |
https://www.elastic.co/guide/en/elasticsearch/reference/current/cat.html
|
|
45 |
cat APIs.
|
|
46 |
|
|
47 |
Managing indexes
|
|
48 |
================
|
|
49 |
|
|
50 |
https://www.elastic.co/guide/en/elasticsearch/reference/current/_delete_an_index.html
|
|
51 |
Delete an Index.
|
|
52 |
|