chore: add rollup ilm settings (#128)
* chore: add rollup ilm settings * docs: add release notes --------- Co-authored-by: hardy <luohf@infinilabs.com>
This commit is contained in:
parent
43188b6ef0
commit
6105976f9b
|
@ -358,5 +358,42 @@ PUT /.easysearch-ilm-config/_settings
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# ilm settings for rollup indices
|
||||||
|
DELETE _ilm/policy/ilm_$[[SETUP_INDEX_PREFIX]]rollup-30days-retention
|
||||||
|
PUT _ilm/policy/ilm_$[[SETUP_INDEX_PREFIX]]rollup-30days-retention
|
||||||
|
{
|
||||||
|
"policy": {
|
||||||
|
"phases": {
|
||||||
|
"hot": {
|
||||||
|
"min_age": "0ms",
|
||||||
|
"actions": {
|
||||||
|
"rollover": {
|
||||||
|
"max_age": "30d",
|
||||||
|
"max_size": "50gb"
|
||||||
|
},
|
||||||
|
"set_priority": {
|
||||||
|
"priority": 100
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"delete": {
|
||||||
|
"min_age": "30d",
|
||||||
|
"actions": {
|
||||||
|
"delete": {
|
||||||
|
"timestamp_field": "timestamp.date_histogram",
|
||||||
|
"min_data_age": "30d"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
# add ilm policy to rollup indices
|
||||||
|
#POST _ilm/add/rollup_index_stats_logs-write
|
||||||
|
#{
|
||||||
|
# "policy_id": "ilm_$[[SETUP_INDEX_PREFIX]]rollup-30days-retention"
|
||||||
|
#}
|
||||||
|
|
||||||
# start all rollup jobs
|
# start all rollup jobs
|
||||||
POST /_rollup/jobs/rollup*/_start
|
POST /_rollup/jobs/rollup*/_start
|
|
@ -13,6 +13,7 @@ Information about release notes of INFINI Console is provided here.
|
||||||
|
|
||||||
### Features
|
### Features
|
||||||
- Support alerts based on bucket diff state (#119)
|
- Support alerts based on bucket diff state (#119)
|
||||||
|
- Add rollup ilm when use Easysearch (#128)
|
||||||
|
|
||||||
### Bug fix
|
### Bug fix
|
||||||
- Fixed missing data when processing multiple time series in a group with insight data API (#127)
|
- Fixed missing data when processing multiple time series in a group with insight data API (#127)
|
||||||
|
|
|
@ -13,6 +13,7 @@ title: "版本历史"
|
||||||
|
|
||||||
### Features
|
### Features
|
||||||
- 告警功能支持根据桶之间文档数差值和内容差异告警 (#119)
|
- 告警功能支持根据桶之间文档数差值和内容差异告警 (#119)
|
||||||
|
- 当使用 Easysearch 存储指标时,增加 Rollup 索引生命周期 (#128)
|
||||||
### Bug fix
|
### Bug fix
|
||||||
- 修复 Insight API 处理多时间序列数据时数据丢失的问题 (#127)
|
- 修复 Insight API 处理多时间序列数据时数据丢失的问题 (#127)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue