Skip to content

[8.0] Add ILM policy for new stack monitoring data streams (#82498)#82892

Merged
jbaiera merged 3 commits intoelastic:8.0from
jbaiera:backport/8.0/pr-82498
Jan 24, 2022
Merged

[8.0] Add ILM policy for new stack monitoring data streams (#82498)#82892
jbaiera merged 3 commits intoelastic:8.0from
jbaiera:backport/8.0/pr-82498

Conversation

@jbaiera
Copy link
Copy Markdown
Member

@jbaiera jbaiera commented Jan 20, 2022

Backports the following commits to 8.0:

Adds a templated ILM policy with a 3 day or 50 gb rollover and a 3 day retention period by default.
The retention period checks the value set in xpack.monitoring.history.duration and uses that for
the retention period if it is present. Depending on which default it uses, the _meta field is updated
with the reasoning for picking the default retention value.

Co-authored-by: Lee Hinman <dakrone@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
# Conflicts:
#	x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/template/LifecyclePolicyConfig.java
#	x-pack/plugin/ml/qa/native-multi-node-tests/src/javaRestTest/java/org/elasticsearch/xpack/ml/integration/MlNativeIntegTestCase.java
@jbaiera jbaiera merged commit 1d1af30 into elastic:8.0 Jan 24, 2022
@jbaiera jbaiera deleted the backport/8.0/pr-82498 branch January 24, 2022 19:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants