cat.shardsedit

client.cat.shards([params, [callback]])

Check the API Conventions and the elasticsearch docs for more information pertaining to this method.

Params

format

String — a short version of the Accept header, e.g. json, yaml

bytes

String — The unit in which to display byte values

Options
  • "b"
  • "k"
  • "kb"
  • "m"
  • "mb"
  • "g"
  • "gb"
  • "t"
  • "tb"
  • "p"
  • "pb"

local

Boolean — Return local information, do not retrieve the state from master node (default: false)

masterTimeout

DurationString — Explicit operation timeout for connection to master node

h

String, String[], Boolean — Comma-separated list of column names to display

help

Boolean — Return help information

s

String, String[], Boolean — Comma-separated list of column names or column aliases to sort by

v

Boolean — Verbose mode. Display column headers

index

String, String[], Boolean — A comma-separated list of index names to limit the returned information

back to top