stack es cat count cli command
elastic stack es cat count [options]
Get a document count.
Behaviour flags:
--dry-run — validate all inputs and exit without performing any action
--indexstring-
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
--indexmultiple times to supply more than one value --hstring-
A comma-separated list of columns names to display. It supports simple wildcards.
Repeatable: pass
--hmultiple times to supply more than one value --sstring-
List of columns that determine how the table should be sorted. Sorting defaults to ascending and can be changed by setting
:ascor:descas a suffix to the column name.Repeatable: pass
--smultiple times to supply more than one value --input-filestring- 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