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] Use component-templates to configure fallback to ILM #112432

Merged
merged 1 commit into from
Sep 2, 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
@@ -0,0 +1,11 @@
---
version: ${xpack.apmdata.template.version}
_meta:
description: Fallback to ILM policy for logs-apm.app if DSL not defined
managed: true
template:
settings:
index:
lifecycle:
name: logs-apm.app_logs-default_policy
prefer_ilm: false
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
version: ${xpack.apmdata.template.version}
_meta:
description: Fallback to ILM policy for logs-apm.error if DSL not defined
managed: true
template:
settings:
index:
lifecycle:
name: logs-apm.error_logs-default_policy
prefer_ilm: false
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
version: ${xpack.apmdata.template.version}
_meta:
description: Fallback to ILM policy for metrics-apm.app if DSL not defined
managed: true
template:
settings:
index:
lifecycle:
name: metrics-apm.app_metrics-default_policy
prefer_ilm: false
11 changes: 11 additions & 0 deletions ...-data/src/main/resources/component-templates/[email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
version: ${xpack.apmdata.template.version}
_meta:
description: Fallback to ILM policy for metrics-apm.internal if DSL not defined
managed: true
template:
settings:
index:
lifecycle:
name: metrics-apm.internal_metrics-default_policy
prefer_ilm: false
11 changes: 11 additions & 0 deletions ...resources/component-templates/[email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
version: ${xpack.apmdata.template.version}
_meta:
description: Fallback to ILM policy for metrics-apm.service_destination.10m if DSL not defined
managed: true
template:
settings:
index:
lifecycle:
name: metrics-apm.service_destination_10m_metrics-default_policy
prefer_ilm: false
11 changes: 11 additions & 0 deletions .../resources/component-templates/[email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
version: ${xpack.apmdata.template.version}
_meta:
description: Fallback to ILM policy for metrics-apm.service_destination.1m if DSL not defined
managed: true
template:
settings:
index:
lifecycle:
name: metrics-apm.service_destination_1m_metrics-default_policy
prefer_ilm: false
11 changes: 11 additions & 0 deletions ...resources/component-templates/[email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
version: ${xpack.apmdata.template.version}
_meta:
description: Fallback to ILM policy for metrics-apm.service_destination.60m if DSL not defined
managed: true
template:
settings:
index:
lifecycle:
name: metrics-apm.service_destination_60m_metrics-default_policy
prefer_ilm: false
11 changes: 11 additions & 0 deletions ...ain/resources/component-templates/[email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
version: ${xpack.apmdata.template.version}
_meta:
description: Fallback to ILM policy for metrics-apm.service_summary.10m if DSL not defined
managed: true
template:
settings:
index:
lifecycle:
name: metrics-apm.service_summary_10m_metrics-default_policy
prefer_ilm: false
11 changes: 11 additions & 0 deletions ...main/resources/component-templates/[email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
version: ${xpack.apmdata.template.version}
_meta:
description: Fallback to ILM policy for metrics-apm.service_summary.1m if DSL not defined
managed: true
template:
settings:
index:
lifecycle:
name: metrics-apm.service_summary_1m_metrics-default_policy
prefer_ilm: false
11 changes: 11 additions & 0 deletions ...ain/resources/component-templates/[email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
version: ${xpack.apmdata.template.version}
_meta:
description: Fallback to ILM policy for metrics-apm.service_summary.60m if DSL not defined
managed: true
template:
settings:
index:
lifecycle:
name: metrics-apm.service_summary_60m_metrics-default_policy
prefer_ilm: false
11 changes: 11 additions & 0 deletions ...resources/component-templates/[email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
version: ${xpack.apmdata.template.version}
_meta:
description: Fallback to ILM policy for metrics-apm.service_transaction.10m if DSL not defined
managed: true
template:
settings:
index:
lifecycle:
name: metrics-apm.service_transaction_10m_metrics-default_policy
prefer_ilm: false
11 changes: 11 additions & 0 deletions .../resources/component-templates/[email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
version: ${xpack.apmdata.template.version}
_meta:
description: Fallback to ILM policy for metrics-apm.service_transaction.1m if DSL not defined
managed: true
template:
settings:
index:
lifecycle:
name: metrics-apm.service_transaction_1m_metrics-default_policy
prefer_ilm: false
11 changes: 11 additions & 0 deletions ...resources/component-templates/[email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
version: ${xpack.apmdata.template.version}
_meta:
description: Fallback to ILM policy for metrics-apm.service_transaction.60m if DSL not defined
managed: true
template:
settings:
index:
lifecycle:
name: metrics-apm.service_transaction_60m_metrics-default_policy
prefer_ilm: false
11 changes: 11 additions & 0 deletions ...rc/main/resources/component-templates/[email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
version: ${xpack.apmdata.template.version}
_meta:
description: Fallback to ILM policy for metrics-apm.transaction.10m if DSL not defined
managed: true
template:
settings:
index:
lifecycle:
name: metrics-apm.transaction_10m_metrics-default_policy
prefer_ilm: false
11 changes: 11 additions & 0 deletions ...src/main/resources/component-templates/[email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
version: ${xpack.apmdata.template.version}
_meta:
description: Fallback to ILM policy for metrics-apm.transaction.1m if DSL not defined
managed: true
template:
settings:
index:
lifecycle:
name: metrics-apm.transaction_1m_metrics-default_policy
prefer_ilm: false
11 changes: 11 additions & 0 deletions ...rc/main/resources/component-templates/[email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
version: ${xpack.apmdata.template.version}
_meta:
description: Fallback to ILM policy for metrics-apm.transaction.60m if DSL not defined
managed: true
template:
settings:
index:
lifecycle:
name: metrics-apm.transaction_60m_metrics-default_policy
prefer_ilm: false
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
version: ${xpack.apmdata.template.version}
_meta:
description: Fallback to ILM policy for traces-apm if DSL not defined
managed: true
template:
settings:
index:
lifecycle:
name: traces-apm.traces-default_policy
prefer_ilm: false
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
version: ${xpack.apmdata.template.version}
_meta:
description: Fallback to ILM policy for traces-apm.rum if DSL not defined
managed: true
template:
settings:
index:
lifecycle:
name: traces-apm.rum_traces-default_policy
prefer_ilm: false
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
version: ${xpack.apmdata.template.version}
_meta:
description: Fallback to ILM policy for traces-apm.sampled if DSL not defined
managed: true
template:
settings:
index:
lifecycle:
name: traces-apm.sampled_traces-default_policy
prefer_ilm: false
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ composed_of:
- apm@settings
- apm-10d@lifecycle
- logs-apm@settings
- logs-apm.app-fallback@lifecycle
- logs@custom
- logs-apm.app@custom
- ecs@mappings
Expand All @@ -23,6 +24,3 @@ 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 @@ -14,6 +14,7 @@ composed_of:
- apm-10d@lifecycle
- logs-apm@settings
- logs-apm.error@mappings
- logs-apm.error-fallback@lifecycle
- logs@custom
- logs-apm.error@custom
- ecs@mappings
Expand All @@ -30,6 +31,3 @@ 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 @@ -13,6 +13,7 @@ composed_of:
- apm-90d@lifecycle
- metrics-apm@mappings
- metrics-apm@settings
- metrics-apm.app-fallback@lifecycle
- metrics@custom
- metrics-apm.app@custom
- ecs@mappings
Expand All @@ -24,6 +25,3 @@ 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 @@ -14,6 +14,7 @@ composed_of:
- apm-90d@lifecycle
- metrics-apm@mappings
- metrics-apm@settings
- metrics-apm.internal-fallback@lifecycle
- metrics@custom
- metrics-apm.internal@custom
- ecs@mappings
Expand All @@ -25,9 +26,6 @@ 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 @@ -16,6 +16,7 @@ composed_of:
- metrics-apm@mappings
- metrics-apm@settings
- metrics-apm.service_destination@mappings
- metrics-apm.service_destination.10m-fallback@lifecycle
- metrics@custom
- metrics-apm.service_destination.10m@custom
- ecs@mappings
Expand All @@ -27,9 +28,6 @@ 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 @@ -15,6 +15,7 @@ composed_of:
- metrics-apm@mappings
- metrics-apm@settings
- metrics-apm.service_destination@mappings
- metrics-apm.service_destination.1m-fallback@lifecycle
- metrics@custom
- metrics-apm.service_destination.1m@custom
- ecs@mappings
Expand All @@ -26,9 +27,6 @@ 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 @@ -16,6 +16,7 @@ composed_of:
- metrics-apm@mappings
- metrics-apm@settings
- metrics-apm.service_destination@mappings
- metrics-apm.service_destination.60m-fallback@lifecycle
- metrics@custom
- metrics-apm.service_destination.60m@custom
- ecs@mappings
Expand All @@ -27,9 +28,6 @@ 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 @@ -16,6 +16,7 @@ composed_of:
- metrics-apm@mappings
- metrics-apm@settings
- metrics-apm.service_summary@mappings
- metrics-apm.service_summary.10m-fallback@lifecycle
- metrics@custom
- metrics-apm.service_summary.10m@custom
- ecs@mappings
Expand All @@ -27,9 +28,6 @@ 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 @@ -15,6 +15,7 @@ composed_of:
- metrics-apm@mappings
- metrics-apm@settings
- metrics-apm.service_summary@mappings
- metrics-apm.service_summary.1m-fallback@lifecycle
- metrics@custom
- metrics-apm.service_summary.1m@custom
- ecs@mappings
Expand All @@ -26,9 +27,6 @@ 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 @@ -16,6 +16,7 @@ composed_of:
- metrics-apm@mappings
- metrics-apm@settings
- metrics-apm.service_summary@mappings
- metrics-apm.service_summary.60m-fallback@lifecycle
- metrics@custom
- metrics-apm.service_summary.60m@custom
- ecs@mappings
Expand All @@ -27,9 +28,6 @@ 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
Loading