index.asciidoc 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. [role="xpack"]
  2. [[index-lifecycle-management]]
  3. == {ilm-init}: Manage the index lifecycle
  4. // [partintro]
  5. --
  6. You can configure {ilm} ({ilm-init}) policies to automatically manage indices
  7. according to your performance, resiliency, and retention requirements.
  8. For example, you could use {ilm-init} to:
  9. * Spin up a new index when an index reaches a certain size or number of documents
  10. * Create a new index each day, week, or month and archive previous ones
  11. * Delete stale indices to enforce data retention standards
  12. You can create and manage index lifecycle policies through {kib} Management
  13. or the {ilm-init} APIs. Default {ilm} policies are created automatically
  14. when you use {agent}, {beats}, or the {ls} {es} output plugin to send data
  15. to the {stack}.
  16. [role="screenshot"]
  17. image:images/ilm/index-lifecycle-policies.png[]
  18. [TIP]
  19. To automatically back up your indices and manage snapshots, use
  20. <<automate-snapshots-slm,snapshot lifecycle policies>>.
  21. * <<example-using-index-lifecycle-policy>>
  22. * <<getting-started-index-lifecycle-management>>
  23. * <<overview-index-lifecycle-management>>
  24. * <<ilm-concepts>>
  25. * <<set-up-lifecycle-policy>>
  26. * <<migrate-index-allocation-filters>>
  27. * <<index-lifecycle-error-handling>>
  28. * <<start-stop-ilm>>
  29. * <<ilm-with-existing-indices>>
  30. * <<skipping-rollover>>
  31. * <<index-lifecycle-and-snapshots>>
  32. * <<index-lifecycle-management-api>>
  33. * <<ilm-actions>>
  34. --
  35. include::example-index-lifecycle-policy.asciidoc[leveloffset=-1]
  36. include::ilm-tutorial.asciidoc[]
  37. include::../indices/index-mgmt.asciidoc[]
  38. include::ilm-overview.asciidoc[]
  39. include::ilm-concepts.asciidoc[]
  40. include::ilm-actions.asciidoc[]
  41. include::set-up-lifecycle-policy.asciidoc[]
  42. include::../data-management/migrate-index-allocation-filters.asciidoc[]
  43. include::error-handling.asciidoc[]
  44. include::start-stop.asciidoc[]
  45. include::ilm-with-existing-indices.asciidoc[]
  46. include::ilm-skip-rollover.asciidoc[]
  47. include::ilm-and-snapshots.asciidoc[]