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

docs: update default policies #10936

Closed
simitt opened this issue Jun 6, 2023 · 2 comments · Fixed by #11252
Closed

docs: update default policies #10936

simitt opened this issue Jun 6, 2023 · 2 comments · Fixed by #11252
Assignees
Labels
docs Team:Docs Label for the Observability docs team
Milestone

Comments

@simitt
Copy link
Contributor

simitt commented Jun 6, 2023

https://www.elastic.co/guide/en/apm/guide/current/ilm-how-to.html#index-lifecycle-policies-default needs to be updated to reflect the latest datastreams and the default policy values.

Data stream Rollover after Delete after Comment
traces-apm 30 days / 50 GB 10 days raw trace event data
traces-apm.rum 30 days / 50 GB 90 days raw RUM trace event data, used in the UI
logs-apm.error 30 days / 50 GB 10 days error event data
logs-apm.app 30 days / 50 GB 10 days logs event data
metrics-apm.app 30 days / 50 GB 90 days custom application specific metrics
metrics-apm.internal 30 days / 50 GB 90 days common system metrics and language specific metrics, e.g. CPU and memory usage
metrics-apm.service_destination_1m 7 days / 50GB 90 days aggregated transaction metrics powering the APM UI
metrics-apm.service_destination_10m 14 days / 50GB 180 days aggregated transaction metrics powering the APM UI
metrics-apm.service_destination_60m 30 days / 50GB 390 days aggregated transaction metrics powering the APM UI
metrics-apm.service_summary_1m 7 days / 50GB 90 days aggregated transaction metrics powering the APM UI
metrics-apm.service_summary_10m 14 days / 50GB 180 days aggregated transaction metrics powering the APM UI
metrics-apm.service_summary_60m 30 days / 50GB 390 days aggregated transaction metrics powering the APM UI
metrics-apm.service_transaction_1m 7 days / 50GB 90 days aggregated transaction metrics powering the APM UI
metrics-apm.service_transaction_10m 14 days / 50GB 180 days aggregated transaction metrics powering the APM UI
metrics-apm.service_transaction_60m 30 days / 50GB 390 days aggregated transaction metrics powering the APM UI
metrics-apm.transaction_1m 7 days / 50GB 90 days aggregated transaction metrics powering the APM UI
metrics-apm.transaction_10m 14 days / 50GB 180 days aggregated transaction metrics powering the APM UI
metrics-apm.transaction_60m 30 days / 50GB 390 days aggregated transaction metrics powering the APM UI
@simitt simitt removed the v8.8.0 label Jun 26, 2023
@simitt simitt added this to the 8.9 milestone Jun 26, 2023
@simitt simitt added the Team:Docs Label for the Observability docs team label Jun 26, 2023
@colleenmcginnis colleenmcginnis self-assigned this Jun 27, 2023
@amcsi
Copy link

amcsi commented Dec 6, 2023

Is it OK to edit these lifecycle policies to change their values, or am I somehow supposed to associate a new, custom lifecycle policy with these APM data streams or whatever?

@matthewabbott
Copy link

matthewabbott commented Dec 14, 2023

@amcsi, You shouldn’t edit the default policies directly. Rather, Elastic has component templates of the form *@custom, eg traces-apm@custom, for each of the default policies. These can be modified and used to effectively associate a 'new' policy with these built-in data streams.

We have a guide in our documentation on how to implement these custom component templates here: https://www.elastic.co/guide/en/apm/guide/current/ilm-how-to.html#data-streams-custom-policy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Team:Docs Label for the Observability docs team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants