Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[plugin/apm-data] Set fallback to legacy ILM policies #112028

Merged
merged 2 commits into from
Aug 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,6 @@ template:
index:
default_pipeline: logs-apm.app@default-pipeline
final_pipeline: apm@pipeline
lifecycle:
name: logs-apm.app_logs-default_policy
prefer_ilm: false
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,6 @@ template:
index:
default_pipeline: logs-apm.error@default-pipeline
final_pipeline: apm@pipeline
lifecycle:
name: logs-apm.error_logs-default_policy
prefer_ilm: false
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,6 @@ template:
index:
default_pipeline: metrics-apm.app@default-pipeline
final_pipeline: metrics-apm@pipeline
lifecycle:
name: metrics-apm.app_metrics-default_policy
prefer_ilm: false
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ template:
index:
default_pipeline: metrics-apm.internal@default-pipeline
final_pipeline: metrics-apm@pipeline
lifecycle:
name: metrics-apm.internal_metrics-default_policy
prefer_ilm: false
mappings:
properties:
data_stream.dataset:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ template:
index:
default_pipeline: metrics-apm.service_destination@default-pipeline
final_pipeline: metrics-apm@pipeline
lifecycle:
name: metrics-apm.service_destination_10m_metrics-default_policy
prefer_ilm: false
mappings:
properties:
metricset.interval:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ template:
index:
default_pipeline: metrics-apm.service_destination@default-pipeline
final_pipeline: metrics-apm@pipeline
lifecycle:
name: metrics-apm.service_destination_1m_metrics-default_policy
prefer_ilm: false
mappings:
properties:
metricset.interval:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ template:
index:
default_pipeline: metrics-apm.service_destination@default-pipeline
final_pipeline: metrics-apm@pipeline
lifecycle:
name: metrics-apm.service_destination_60m_metrics-default_policy
prefer_ilm: false
mappings:
properties:
metricset.interval:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ template:
index:
default_pipeline: metrics-apm.service_summary@default-pipeline
final_pipeline: metrics-apm@pipeline
lifecycle:
name: metrics-apm.service_summary_10m_metrics-default_policy
prefer_ilm: false
mappings:
properties:
metricset.interval:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ template:
index:
default_pipeline: metrics-apm.service_summary@default-pipeline
final_pipeline: metrics-apm@pipeline
lifecycle:
name: metrics-apm.service_summary_1m_metrics-default_policy
prefer_ilm: false
mappings:
properties:
metricset.interval:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ template:
index:
default_pipeline: metrics-apm.service_summary@default-pipeline
final_pipeline: metrics-apm@pipeline
lifecycle:
name: metrics-apm.service_summary_60m_metrics-default_policy
prefer_ilm: false
mappings:
properties:
metricset.interval:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ template:
index:
default_pipeline: metrics-apm.service_transaction@default-pipeline
final_pipeline: metrics-apm@pipeline
lifecycle:
name: metrics-apm.service_transaction_10m_metrics-default_policy
prefer_ilm: false
mappings:
properties:
metricset.interval:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ template:
index:
default_pipeline: metrics-apm.service_transaction@default-pipeline
final_pipeline: metrics-apm@pipeline
lifecycle:
name: metrics-apm.service_transaction_1m_metrics-default_policy
prefer_ilm: false
mappings:
properties:
metricset.interval:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ template:
index:
default_pipeline: metrics-apm.service_transaction@default-pipeline
final_pipeline: metrics-apm@pipeline
lifecycle:
name: metrics-apm.service_transaction_60m_metrics-default_policy
prefer_ilm: false
mappings:
properties:
metricset.interval:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ template:
index:
default_pipeline: metrics-apm.transaction@default-pipeline
final_pipeline: metrics-apm@pipeline
lifecycle:
name: metrics-apm.transaction_10m_metrics-default_policy
prefer_ilm: false
mappings:
properties:
metricset.interval:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ template:
index:
default_pipeline: metrics-apm.transaction@default-pipeline
final_pipeline: metrics-apm@pipeline
lifecycle:
name: metrics-apm.transaction_1m_metrics-default_policy
prefer_ilm: false
mappings:
properties:
metricset.interval:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ template:
index:
default_pipeline: metrics-apm.transaction@default-pipeline
final_pipeline: metrics-apm@pipeline
lifecycle:
name: metrics-apm.transaction_60m_metrics-default_policy
prefer_ilm: false
mappings:
properties:
metricset.interval:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ template:
index:
default_pipeline: traces-apm.rum@default-pipeline
final_pipeline: traces-apm@pipeline
lifecycle:
name: traces-apm.rum_traces-default_policy
prefer_ilm: false
mappings:
properties:
data_stream.type:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ ignore_missing_component_templates:
template:
lifecycle:
data_retention: 1h
settings:
index:
lifecycle:
name: traces-apm.sampled_traces-default_policy
prefer_ilm: false
mappings:
properties:
data_stream.type:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ template:
index:
default_pipeline: traces-apm@default-pipeline
final_pipeline: traces-apm@pipeline
lifecycle:
name: traces-apm.traces-default_policy
prefer_ilm: false
mappings:
properties:
data_stream.type:
Expand Down
2 changes: 1 addition & 1 deletion x-pack/plugin/apm-data/src/main/resources/resources.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# "version" holds the version of the templates and ingest pipelines installed
# by xpack-plugin apm-data. This must be increased whenever an existing template or
# pipeline is changed, in order for it to be updated on Elasticsearch upgrade.
version: 6
version: 7

component-templates:
# Data lifecycle.
Expand Down