Loading

stack es cat count cli command

Auth required
elastic stack es cat count [options]
		

Get a document count.

Behaviour flags:

--dry-run — validate all inputs and exit without performing any action

--index string

A comma-separated list of data streams, indices, and aliases used to limit the request. It supports wildcards (*). To target all data streams and indices, omit this parameter or use * or _all.

Repeatable: pass --index multiple times to supply more than one value

--h string

A comma-separated list of columns names to display. It supports simple wildcards.

Repeatable: pass --h multiple times to supply more than one value

--s string

List of columns that determine how the table should be sorted. Sorting defaults to ascending and can be changed by setting :asc or :desc as a suffix to the column name.

Repeatable: pass --s multiple times to supply more than one value

--input-file string
path to a JSON file to use as command input
--[no-]dry-run
validate all inputs and exit without performing any action (preview changes without applying them)
--[no-]json

output as JSON