You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
closes#1633 (docs-content repo) There already is a warning and tooltip in the Kibana UI advising users that the maximum index size is deprecated and that they should use the maximum primary shard size instead.
Copy file name to clipboardExpand all lines: docs/reference/elasticsearch/index-lifecycle-actions/ilm-rollover.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -57,9 +57,13 @@ The index will roll over once any `max_*` condition is satisfied and all `min_*`
57
57
`max_docs`
58
58
: (Optional, integer) Triggers rollover after the specified maximum number of documents is reached. Documents added since the last refresh are not included in the document count. The document count does **not** include documents in replica shards.
59
59
60
-
`max_size`
60
+
`max_size` {applies_to}`stack: deprecated`
61
61
: (Optional, [byte units](/reference/elasticsearch/rest-apis/api-conventions.md#byte-units)) Triggers rollover when the index reaches a certain size. This is the total size of all primary shards in the index. Replicas are not counted toward the maximum index size.
62
62
63
+
:::{admonition} Deprecated
64
+
The `max_size` rollover attribute will be removed in a future version. Use `max_primary_shard_size` instead.
65
+
:::
66
+
63
67
::::{tip}
64
68
To see the current index size, use the [_cat indices](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-cat-indices) API. The `pri.store.size` value shows the combined size of all primary shards.
0 commit comments