[DOCS] Added info about automatic config for Beats & Logstash. (#56317) (#56729)

* [DOCS] Added info about automatic config for Beats & Logstash.

* Update docs/reference/ilm/set-up-lifecycle-policy.asciidoc

Co-authored-by: James Rodewig <james.rodewig@elastic.co>

* Update docs/reference/ilm/set-up-lifecycle-policy.asciidoc

Co-authored-by: James Rodewig <james.rodewig@elastic.co>

* Update docs/reference/ilm/index.asciidoc

* Updated note in GS tutorial

Co-authored-by: James Rodewig <james.rodewig@elastic.co>

Co-authored-by: James Rodewig <james.rodewig@elastic.co>
This commit is contained in:
debadair 2020-05-13 19:27:22 -07:00 committed by GitHub
parent 566b23c42c
commit 83e9ff42da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 17 additions and 7 deletions

View File

@ -10,8 +10,7 @@
This tutorial demonstrates how to use {ilm}
({ilm-init}) to manage indices that contain time-series data.
When you continuously index timestamped documents into {es} using
Filebeat, Logstash, or some other mechanism,
When you continuously index timestamped documents into {es},
you typically use an index alias so you can periodically roll over to a new index.
This enables you to implement a hot-warm-cold architecture to meet your performance
requirements for your newest data, control costs over time, enforce retention policies,
@ -28,10 +27,12 @@ as expected.
For an introduction to rolling indices, see <<index-rollover>>.
NOTE: {filebeat} includes a default {ilm-init} policy that initiates the rollover action when
the index size reaches 50GB or becomes 30 days old.
You can use this policy as a starting point, or replace it with a custom policy.
See {kibana-ref}/example-using-index-lifecycle-policy.html[Use {ilm-init} to manage Filebeat time-based indices].
IMPORTANT: When you enable {ilm} for {beats} or the {ls} {es} output plugin,
lifecycle policies are set up automatically.
You do not need bootstrap the initial index or take any other actions.
You can modify the default policies through
{kibana-ref}/example-using-index-lifecycle-policy.html[{kib} Management]
or the {ilm-init} APIs.
[discrete]

View File

@ -13,6 +13,10 @@ For example, you could use {ilm-init} to:
* Create a new index each day, week, or month and archive previous ones
* Delete stale indices to enforce data retention standards
When you enable {ilm} for {beats} or the {ls} {es} output plugin,
{ilm-init} is configured automatically.
You can modify the default policies through {kib} Management or the {ilm-init} APIs.
[TIP]
To automatically back up your indices and manage snapshots,
use <<getting-started-snapshot-lifecycle-management,snapshot lifecycle policies>>.
@ -48,4 +52,3 @@ include::using-policies-rollover.asciidoc[]
include::ilm-with-existing-indices.asciidoc[]
include::ilm-and-snapshots.asciidoc[]

View File

@ -12,6 +12,12 @@ you create the policy and add it to the index template.
To use a policy to manage an index that doesn't roll over,
you can specify the policy directly when you create it.
IMPORTANT: When you enable {ilm} for {beats} or the {ls} {es} output plugin,
the necessary policies and configuration changes are applied automatically.
You can modify the default policies, but you do not need to explicitly configure a policy or
bootstrap an initial index.
[discrete]
[[ilm-create-policy]]
=== Create lifecycle policy