elasticsearch.rst
changeset 2279 8c9e8c734f98
parent 2269 7002dd57037b
child 2281 fdaa046f19ba
equal deleted inserted replaced
2278:954eb979bb4d 2279:8c9e8c734f98
    18 
    18 
    19   GET /_cat/nodes
    19   GET /_cat/nodes
    20 
    20 
    21 To pretty print output append query::
    21 To pretty print output append query::
    22 
    22 
    23   ?pretty=1
    23   GET /_cat/nodes?pretty=1
    24 
    24 
    25 Get base information
    25 Get base information
    26 ====================
    26 ====================
    27 
    27 
    28 Cluster health::
    28 Cluster health::
    33 
    33 
    34 List of nodes in cluster (ip, RAM, CPU)::
    34 List of nodes in cluster (ip, RAM, CPU)::
    35 
    35 
    36   GET /_cat/nodes?v
    36   GET /_cat/nodes?v
    37   GET /_cat/master?v
    37   GET /_cat/master?v
       
    38 
       
    39   watch -d curl -s 'localhost:9200/_cat/nodes?v'
    38 
    40 
    39 List cluster state::
    41 List cluster state::
    40 
    42 
    41   GET /_cluster/state?pretty
    43   GET /_cluster/state?pretty
    42 
    44 
   123 
   125 
   124 .. note:: ``_missing_:<field>`` was removed from Kibana 5.x, use ``NOT _exists_:<field>``.
   126 .. note:: ``_missing_:<field>`` was removed from Kibana 5.x, use ``NOT _exists_:<field>``.
   125 
   127 
   126 ``-<field>:<val>`` or ``-<field>:"<val>"`` for excluding field value.
   128 ``-<field>:<val>`` or ``-<field>:"<val>"`` for excluding field value.
   127 
   129 
       
   130 ``+<field>:<val>`` or ``+<field>:"<val>"`` for including field value.
       
   131 
   128 https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-exists-query.html
   132 https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-exists-query.html
   129   Exists Query
   133   Exists Query
   130 
   134 
   131 
   135 
   132 Performance
   136 Performance