elasticsearch.index.shards.size
Shard size bytesDimensions:None
Summary
Measures the total storage size of all shards belonging to an index, including primary and replica shards. This metric is essential for capacity planning and identifying index bloat. Comparing shard sizes to document counts reveals storage efficiency and helps detect issues like mapping explosion or excessive field indexing driving up storage costs.
Interface Metrics (17)
Dimensions:None
Dimensions:None
Dimensions:None
Dimensions:None
Dimensions:None
Sources








elasticsearch.index.primary_shardsgithub.com
elasticsearch_indices_shards_docs_deletedwww.dynatrace.com
indices_shards_docs_deletedgithub.com
elasticsearch.index.replica_shardsgithub.com
elasticsearch.index.primary_store_sizegithub.com
elasticsearch.primaries.store.sizegithub.com
elasticsearch.node.shards.sizegithub.com
elasticsearch.shardsgithub.com
elasticsearch.index.store_sizegithub.com
Technical Annotations (11)
Configuration Parameters (1)
index.mapping.use_doc_values_skipperrecommended: true (default for TSDB), false (default for standard indices)Technical References (10)
wildcard field typesconceptbinary doc valuescomponentZstd compressionprotocoldoc_valuescomponentBKD indexcomponent@timestampcomponent_tsidcomponentTSDB codeccomponentsorted-set doc valuescomponentrun-length encodingconceptRelated Insights (5)
Excessive Shard Count Degrades Performancecritical
Too many shards consume cluster resources even when idle, causing slow queries and increased overhead. Rule of thumb: keep shards below 20 per GB of heap configured.
▸
Excessive Shard Count Degrading Performancecritical
Too many shards consume cluster resources even when idle, causing slow queries, increased overhead, and reduced stability. Rule of thumb: keep shards below 20 per GB of heap configured.
▸
Binary doc values compression can reduce storage footprint for wildcard fieldsinfo
▸
Doc values skippers enabled by default in TSDB reduce index footprintinfo
▸
Large numeric blocks for TSDB improve compression for multi-valued fieldsinfo
▸