我正在为Kong API Gateway日志使用ELK。通过在索引设置中添加以下行手动应用ILM策略后,我收到以下索引错误:
{
"index.blocks.read_only_allow_delete": "false",
"index.query.default_field": [
"*"
],
"index.refresh_interval": "1s",
"index.write.wait_for_active_shards": "1",
"index.lifecycle.name": "kong-index-policy",
"index.lifecycle.rollover_alias": "kong",
"index.lifecycle.indexing_complete": "true",
"index.routing.allocation.include._tier_preference": "data_content",
"index.mapping.total_fields.limit": "20000",
"index.priority": "100",
"index.number_of_replicas": "1"
}
字符串
错误:
第一个月
我尝试使用重试策略执行API POST kong-2022-11-17-000001/_ilm/retry
,但问题仍然存在。
请问如何解决这个问题?
1条答案
按热度按时间63lcw9qa1#
在索引设置中设置
"index.lifecycle.indexing_complete": "false"
时解决