69 lines
4.3 KiB
Plaintext
69 lines
4.3 KiB
Plaintext
[[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 <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<IndicesDataStreamsStatsResponse>
|
|
----
|
|
|
|
[discrete]
|
|
===== `IndicesDataStreamsStatsRequest`
|
|
|
|
[source,ts]
|
|
----
|
|
interface IndicesDataStreamsStatsRequest extends <<shared-type-request-base, RequestBase>> {
|
|
name?: <<shared-type-index-name, IndexName>>
|
|
expand_wildcards?: <<shared-type-expand-wildcards, ExpandWildcards>>
|
|
}
|
|
----
|
|
|
|
[discrete]
|
|
===== `IndicesDataStreamsStatsResponse`
|
|
|
|
[source,ts]
|
|
----
|
|
interface IndicesDataStreamsStatsResponse {
|
|
_shards: <<shared-type-shard-statistics, ShardStatistics>>
|
|
backing_indices: <<shared-type-integer, integer>>
|
|
data_stream_count: <<shared-type-integer, integer>>
|
|
data_streams: IndicesDataStreamsStatsDataStreamsStatsItem[]
|
|
total_store_sizes?: <<shared-type-byte-size, ByteSize>>
|
|
total_store_size_bytes: <<shared-type-long, long>>
|
|
}
|
|
----
|
|
|