[[reference-indices-data_streams_stats]] //////// =========================================================================================================================== || || || || || || || ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ || || ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ || || ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ || || ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ || || ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ || || ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ || || || || || || This file is autogenerated, DO NOT send pull requests that changes this file directly. || || You should update the script that does the generation, which can be found in: || || https://github.com/elastic/elastic-client-generator-js || || || || You can run the script with the following command: || || npm run elasticsearch -- --version || || || || || || || =========================================================================================================================== //////// [discrete] === client.indices.dataStreamsStats Get data stream stats. Retrieves statistics for one or more data streams. {ref}/data-streams.html[{es} documentation] [discrete] ==== Function signature [source,ts] ---- (IndicesDataStreamsStatsRequest, options?): Promise ---- [discrete] ===== `IndicesDataStreamsStatsRequest` [source,ts] ---- interface IndicesDataStreamsStatsRequest extends <> { name?: <> expand_wildcards?: <> } ---- [discrete] ===== `IndicesDataStreamsStatsResponse` [source,ts] ---- interface IndicesDataStreamsStatsResponse { _shards: <> backing_indices: <> data_stream_count: <> data_streams: IndicesDataStreamsStatsDataStreamsStatsItem[] total_store_sizes?: <> total_store_size_bytes: <> } ----