diff --git a/docs/en/observability/slo-overview.asciidoc b/docs/en/observability/slo-overview.asciidoc index 53d7894dbc..5f813e83fc 100644 --- a/docs/en/observability/slo-overview.asciidoc +++ b/docs/en/observability/slo-overview.asciidoc @@ -114,6 +114,42 @@ The Reset API loads the outdated SLO definition and resets it to the new format Once an SLO is reset, it will start to regenerate SLIs and summary data. ==== +[%collapsible] +.Remove legacy summary transforms +==== +After migrating to 8.12 or later, you might have some legacy SLO summary transforms running. +You can safely delete the following legacy summary transforms: + +[source,sh] +---------------------------------- +# Stop all legacy summary transforms +POST _transform/slo-summary-occurrences-30d-rolling/_stop?force=true +POST _transform/slo-summary-occurrences-7d-rolling/_stop?force=true +POST _transform/slo-summary-occurrences-90d-rolling/_stop?force=true +POST _transform/slo-summary-occurrences-monthly-aligned/_stop?force=true +POST _transform/slo-summary-occurrences-weekly-aligned/_stop?force=true +POST _transform/slo-summary-timeslices-30d-rolling/_stop?force=true +POST _transform/slo-summary-timeslices-7d-rolling/_stop?force=true +POST _transform/slo-summary-timeslices-90d-rolling/_stop?force=true +POST _transform/slo-summary-timeslices-monthly-aligned/_stop?force=true +POST _transform/slo-summary-timeslices-weekly-aligned/_stop?force=true + +# Delete all legacy summary transforms +DELETE _transform/slo-summary-occurrences-30d-rolling?force=true +DELETE _transform/slo-summary-occurrences-7d-rolling?force=true +DELETE _transform/slo-summary-occurrences-90d-rolling?force=true +DELETE _transform/slo-summary-occurrences-monthly-aligned?force=true +DELETE _transform/slo-summary-occurrences-weekly-aligned?force=true +DELETE _transform/slo-summary-timeslices-30d-rolling?force=true +DELETE _transform/slo-summary-timeslices-7d-rolling?force=true +DELETE _transform/slo-summary-timeslices-90d-rolling?force=true +DELETE _transform/slo-summary-timeslices-monthly-aligned?force=true +DELETE _transform/slo-summary-timeslices-weekly-aligned?force=true +---------------------------------- + +Do not delete any new summary transforms used by your migrated SLOs. +==== + [discrete] [[slo-overview-next-steps]] == Next steps