1.

What are the different ElasticSearch commands available in the cat API?

Answer»

There are different commands available in the Elasticsearch cat API. Here are a few:

  • Count: Displays the total NUMBER of documents in your cluster.
GET _cat/count?v
  • Allocation: Displays the disk space allocated to indices and the number of SHARDS per node.
GET _cat/allocation?v
  • Field data: SHOWS the memory usage of each field per node.
GET _cat/fielddata?v
  • Indices: Displays information about indices, INCLUDING how much space they take up, how many shards they have, etc.
GET _cat/indices?v
  • Node Attributes: Displays the attributes associated with custom nodes.
GET _cat/nodeattrs?v


Discussion

No Comment Found