forked from elastic/elasticsearch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add default ILM policies and switch to ILM for apm-data plugin (elast…
…ic#115687) (cherry picked from commit 6325e46)
- Loading branch information
Showing
44 changed files
with
468 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
pr: 115687 | ||
summary: Add default ILM policies and switch to ILM for apm-data plugin | ||
area: Data streams | ||
type: feature | ||
issues: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,4 +8,3 @@ template: | |
index: | ||
lifecycle: | ||
name: logs-apm.app_logs-default_policy | ||
prefer_ilm: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,4 +8,3 @@ template: | |
index: | ||
lifecycle: | ||
name: logs-apm.error_logs-default_policy | ||
prefer_ilm: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,4 +8,3 @@ template: | |
index: | ||
lifecycle: | ||
name: metrics-apm.app_metrics-default_policy | ||
prefer_ilm: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,4 +8,3 @@ template: | |
index: | ||
lifecycle: | ||
name: metrics-apm.internal_metrics-default_policy | ||
prefer_ilm: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,4 +8,3 @@ template: | |
index: | ||
lifecycle: | ||
name: metrics-apm.service_destination_10m_metrics-default_policy | ||
prefer_ilm: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,4 +8,3 @@ template: | |
index: | ||
lifecycle: | ||
name: metrics-apm.service_destination_1m_metrics-default_policy | ||
prefer_ilm: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,4 +8,3 @@ template: | |
index: | ||
lifecycle: | ||
name: metrics-apm.service_destination_60m_metrics-default_policy | ||
prefer_ilm: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,4 +8,3 @@ template: | |
index: | ||
lifecycle: | ||
name: metrics-apm.service_summary_10m_metrics-default_policy | ||
prefer_ilm: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,4 +8,3 @@ template: | |
index: | ||
lifecycle: | ||
name: metrics-apm.service_summary_1m_metrics-default_policy | ||
prefer_ilm: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,4 +8,3 @@ template: | |
index: | ||
lifecycle: | ||
name: metrics-apm.service_summary_60m_metrics-default_policy | ||
prefer_ilm: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,4 +8,3 @@ template: | |
index: | ||
lifecycle: | ||
name: metrics-apm.service_transaction_10m_metrics-default_policy | ||
prefer_ilm: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,4 +8,3 @@ template: | |
index: | ||
lifecycle: | ||
name: metrics-apm.service_transaction_1m_metrics-default_policy | ||
prefer_ilm: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,4 +8,3 @@ template: | |
index: | ||
lifecycle: | ||
name: metrics-apm.service_transaction_60m_metrics-default_policy | ||
prefer_ilm: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,4 +8,3 @@ template: | |
index: | ||
lifecycle: | ||
name: metrics-apm.transaction_10m_metrics-default_policy | ||
prefer_ilm: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,4 +8,3 @@ template: | |
index: | ||
lifecycle: | ||
name: metrics-apm.transaction_1m_metrics-default_policy | ||
prefer_ilm: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,4 +8,3 @@ template: | |
index: | ||
lifecycle: | ||
name: metrics-apm.transaction_60m_metrics-default_policy | ||
prefer_ilm: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,4 +8,3 @@ template: | |
index: | ||
lifecycle: | ||
name: traces-apm.traces-default_policy | ||
prefer_ilm: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,4 +8,3 @@ template: | |
index: | ||
lifecycle: | ||
name: traces-apm.rum_traces-default_policy | ||
prefer_ilm: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,4 +8,3 @@ template: | |
index: | ||
lifecycle: | ||
name: traces-apm.sampled_traces-default_policy | ||
prefer_ilm: false |
16 changes: 16 additions & 0 deletions
16
...ugin/apm-data/src/main/resources/lifecycle-policies/logs-apm.app_logs-default_policy.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
_meta: | ||
description: Default ILM policy for APM managed datastreams | ||
managed: true | ||
phases: | ||
hot: | ||
actions: | ||
rollover: | ||
max_age: 30d | ||
max_primary_shard_size: 50gb | ||
set_priority: | ||
priority: 100 | ||
delete: | ||
min_age: 10d | ||
actions: | ||
delete: {} |
16 changes: 16 additions & 0 deletions
16
...in/apm-data/src/main/resources/lifecycle-policies/logs-apm.error_logs-default_policy.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
_meta: | ||
description: Default ILM policy for APM managed datastreams | ||
managed: true | ||
phases: | ||
hot: | ||
actions: | ||
rollover: | ||
max_age: 30d | ||
max_primary_shard_size: 50gb | ||
set_priority: | ||
priority: 100 | ||
delete: | ||
min_age: 10d | ||
actions: | ||
delete: {} |
16 changes: 16 additions & 0 deletions
16
...pm-data/src/main/resources/lifecycle-policies/metrics-apm.app_metrics-default_policy.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
_meta: | ||
description: Default ILM policy for APM managed datastreams | ||
managed: true | ||
phases: | ||
hot: | ||
actions: | ||
rollover: | ||
max_age: 30d | ||
max_primary_shard_size: 50gb | ||
set_priority: | ||
priority: 100 | ||
delete: | ||
min_age: 90d | ||
actions: | ||
delete: {} |
16 changes: 16 additions & 0 deletions
16
...ta/src/main/resources/lifecycle-policies/metrics-apm.internal_metrics-default_policy.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
_meta: | ||
description: Default ILM policy for APM managed datastreams | ||
managed: true | ||
phases: | ||
hot: | ||
actions: | ||
rollover: | ||
max_age: 30d | ||
max_primary_shard_size: 50gb | ||
set_priority: | ||
priority: 100 | ||
delete: | ||
min_age: 90d | ||
actions: | ||
delete: {} |
16 changes: 16 additions & 0 deletions
16
...ources/lifecycle-policies/metrics-apm.service_destination_10m_metrics-default_policy.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
_meta: | ||
description: Default ILM policy for APM managed datastreams | ||
managed: true | ||
phases: | ||
hot: | ||
actions: | ||
rollover: | ||
max_age: 14d | ||
max_primary_shard_size: 50gb | ||
set_priority: | ||
priority: 100 | ||
delete: | ||
min_age: 180d | ||
actions: | ||
delete: {} |
16 changes: 16 additions & 0 deletions
16
...sources/lifecycle-policies/metrics-apm.service_destination_1m_metrics-default_policy.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
_meta: | ||
description: Default ILM policy for APM managed datastreams | ||
managed: true | ||
phases: | ||
hot: | ||
actions: | ||
rollover: | ||
max_age: 7d | ||
max_primary_shard_size: 50gb | ||
set_priority: | ||
priority: 100 | ||
delete: | ||
min_age: 90d | ||
actions: | ||
delete: {} |
16 changes: 16 additions & 0 deletions
16
...ources/lifecycle-policies/metrics-apm.service_destination_60m_metrics-default_policy.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
_meta: | ||
description: Default ILM policy for APM managed datastreams | ||
managed: true | ||
phases: | ||
hot: | ||
actions: | ||
rollover: | ||
max_age: 30d | ||
max_primary_shard_size: 50gb | ||
set_priority: | ||
priority: 100 | ||
delete: | ||
min_age: 390d | ||
actions: | ||
delete: {} |
16 changes: 16 additions & 0 deletions
16
.../resources/lifecycle-policies/metrics-apm.service_summary_10m_metrics-default_policy.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
_meta: | ||
description: Default ILM policy for APM managed datastreams | ||
managed: true | ||
phases: | ||
hot: | ||
actions: | ||
rollover: | ||
max_age: 14d | ||
max_primary_shard_size: 50gb | ||
set_priority: | ||
priority: 100 | ||
delete: | ||
min_age: 180d | ||
actions: | ||
delete: {} |
16 changes: 16 additions & 0 deletions
16
...n/resources/lifecycle-policies/metrics-apm.service_summary_1m_metrics-default_policy.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
_meta: | ||
description: Default ILM policy for APM managed datastreams | ||
managed: true | ||
phases: | ||
hot: | ||
actions: | ||
rollover: | ||
max_age: 7d | ||
max_primary_shard_size: 50gb | ||
set_priority: | ||
priority: 100 | ||
delete: | ||
min_age: 90d | ||
actions: | ||
delete: {} |
16 changes: 16 additions & 0 deletions
16
.../resources/lifecycle-policies/metrics-apm.service_summary_60m_metrics-default_policy.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
_meta: | ||
description: Default ILM policy for APM managed datastreams | ||
managed: true | ||
phases: | ||
hot: | ||
actions: | ||
rollover: | ||
max_age: 30d | ||
max_primary_shard_size: 50gb | ||
set_priority: | ||
priority: 100 | ||
delete: | ||
min_age: 390d | ||
actions: | ||
delete: {} |
16 changes: 16 additions & 0 deletions
16
...ources/lifecycle-policies/metrics-apm.service_transaction_10m_metrics-default_policy.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
_meta: | ||
description: Default ILM policy for APM managed datastreams | ||
managed: true | ||
phases: | ||
hot: | ||
actions: | ||
rollover: | ||
max_age: 14d | ||
max_primary_shard_size: 50gb | ||
set_priority: | ||
priority: 100 | ||
delete: | ||
min_age: 180d | ||
actions: | ||
delete: {} |
16 changes: 16 additions & 0 deletions
16
...sources/lifecycle-policies/metrics-apm.service_transaction_1m_metrics-default_policy.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
_meta: | ||
description: Default ILM policy for APM managed datastreams | ||
managed: true | ||
phases: | ||
hot: | ||
actions: | ||
rollover: | ||
max_age: 7d | ||
max_primary_shard_size: 50gb | ||
set_priority: | ||
priority: 100 | ||
delete: | ||
min_age: 90d | ||
actions: | ||
delete: {} |
16 changes: 16 additions & 0 deletions
16
...ources/lifecycle-policies/metrics-apm.service_transaction_60m_metrics-default_policy.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
_meta: | ||
description: Default ILM policy for APM managed datastreams | ||
managed: true | ||
phases: | ||
hot: | ||
actions: | ||
rollover: | ||
max_age: 30d | ||
max_primary_shard_size: 50gb | ||
set_priority: | ||
priority: 100 | ||
delete: | ||
min_age: 390d | ||
actions: | ||
delete: {} |
16 changes: 16 additions & 0 deletions
16
...main/resources/lifecycle-policies/metrics-apm.transaction_10m_metrics-default_policy.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
_meta: | ||
description: Default ILM policy for APM managed datastreams | ||
managed: true | ||
phases: | ||
hot: | ||
actions: | ||
rollover: | ||
max_age: 14d | ||
max_primary_shard_size: 50gb | ||
set_priority: | ||
priority: 100 | ||
delete: | ||
min_age: 180d | ||
actions: | ||
delete: {} |
16 changes: 16 additions & 0 deletions
16
.../main/resources/lifecycle-policies/metrics-apm.transaction_1m_metrics-default_policy.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
_meta: | ||
description: Default ILM policy for APM managed datastreams | ||
managed: true | ||
phases: | ||
hot: | ||
actions: | ||
rollover: | ||
max_age: 7d | ||
max_primary_shard_size: 50gb | ||
set_priority: | ||
priority: 100 | ||
delete: | ||
min_age: 90d | ||
actions: | ||
delete: {} |
Oops, something went wrong.