【发布时间】:2021-04-30 13:53:28
【问题描述】:
我已经在本地部署了弹性搜索和 Kibana,并且能够在本地集群上执行堆栈管理操作。
弹性搜索:elasticsearch-7.11.1-windows-x86_64 Kibana:kibana-7.11.1-windows-x86_64
状态管理L
索引生命周期管理
现在我想在我的 AWS Managed ElastciSearch 服务上设置索引汇总作业,但在 Kibana 上的 AWS 部署服务上,这些选项缺失。
弹性搜索:7.4 Kibana:Kibana 7.4.2
注意:ILM 已在 7.1.2 版中引入,因此与版本不匹配无关。请参考: https://www.elastic.co/guide/en/elasticsearch/reference/current/index-lifecycle-management.html#:~:text=ILM%3A%20Manage%20the%20index%20lifecycleedit,%2C%20resiliency%2C%20and%20retention%20requirements.
根据 AWS 文档,设置索引汇总的步骤如下:
参考:https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/rollup.html
To get started, choose Index Management in Kibana. Select Rollup Jobs and choose to Create a rollup job.
Step 1: Set up indices
Set up the source and target indices. The source index is the one that you want to roll up. The target index is where the index rollup results are saved.
After you create an index rollup job, you can’t change your index selections.
Step 2: Define aggregations and metrics
Select the attributes with the aggregations (terms and histograms) and metrics (avg, sum, max, min, and value count) that you want to roll up. Make sure you don’t add a lot of highly granular attributes, because you won’t save much space.
Step 3: Specify schedules
Specify a schedule to roll up your indices as it’s being ingested. The index rollup job is enabled by default.
Step 4: Review and create
Review your configuration and select Create.
但是这些在我的集群上都不可用。我在这里遗漏了什么,是 AWS 文档不正确还是我在创建集群时做了什么可怕的事情?
问候
注意:我已将 AWS es 域升级到最新版本:7.10。仍然缺少堆栈管理功能。
【问题讨论】:
标签: amazon-web-services kibana aws-elasticsearch