Skip to content

techyprogram/elasticsearch-ILM-policy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

5b573dc · Mar 3, 2022

History

4 Commits
Mar 3, 2022
Mar 3, 2022

Repository files navigation

elasticsearch-ILM-policy

Elasticsearch ILM Policy file

config directory contains the below sample policy files.

  1. age_rollover_policy.json
  2. doc_rollover_policy.json
  3. sample_rollover_policy.json
  4. size_rollover_policy.json

age_rollover_policy.json

This policy is for rolling over the indices when age of the index reaches configurable age.
As per the configuration, if the index reaches 1 day the index would be rolled over.

doc_rollover_policy.json

This policy is for rolling over the indices when document count of the index reaches configurable document count.
As per the configuration, if the index reaches 1000 documents the index would be rolled over.

size_rollover_policy.json

This policy is for rolling over the indices when size of the index reaches configurable size.
As per the configuration, if the index reaches 500mb the index would be rolled over.

sample_rollover_policy.json

This policy is for rolling over the indices when age of the index or document count or size reaches configurable.
As per the configuration, if the index reaches 1 day or 10000 count or 500mb the index would be rolled over.

This all file also contains the transition to warm layer after 1 hour of the rolling over the indices. In warm layer we change the number of the shards to 1.

About

Elasticsearch ILM Policy file

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published