- Release borrowed from @KongZ (thanks!)
- Set release for Kibana 6.8.4
- Support Elasticsearch Index Lifecycle Policy
Previously, Sentinl creates new index everyday which load a ton of indices on cluster and it is hard to manage old indices. This build will add Index Lifecycle Policy supports to Sentinel watcher_alarms index.
To enable
Add this config to kibana.yaml under sentinl section
es:
rollover_index: true
Create an Index Lifecycle Policy named watcher-alarms
. The name can be configured from es.rollover_policy_name setting
.
If you are freshly install Sentinl on Kibana, the policy will automatically applied to index template, and newly creating index.
If you upgrading from existing plugin, you may have to apply the policy to template and the latest index manually. (Depends on your situation)
Important: the Index lifecycle policy requires index name to be suffixed with -\d+ thus all new creating index will be changed from pattern watcher_alarms-2019.10.15 to watcher_alarms-00001. And index alias watcher_alarms will be created.