首页 > 解决方案 > 如何在 Elastic Search 中更改维护活动的时间

问题描述

我的第一个问题为什么 elasticsearch 会自动运行维护活动

我无法追踪到这个时间发生的时间,我无法提取记录。

我们可以改变这个时间吗?下面分享了我的日志。状态从红色变为黄色是否正确,我们可以将其更改为绿色吗

请有人可以提供您的意见和看法。

提前致谢。

[2018-12-09T15:24:41,022][INFO ][o.e.n.Node               ] [_7EG38y] started
[2018-12-09T15:24:42,005][WARN ][o.e.x.s.a.s.m.NativeRoleMappingStore] [_7EG38y]
 Failed to clear cache for realms [[]]
[2018-12-09T15:24:42,083][INFO ][o.e.l.LicenseService     ] [_7EG38y] license [8
ec47b44-ca97-42ca-8836-df541be12e06] mode [basic] - valid
[2018-12-09T15:24:42,099][INFO ][o.e.g.GatewayService     ] [_7EG38y] recovered
[1] indices into cluster_state
[2018-12-09T15:24:43,487][INFO ][o.e.c.r.a.AllocationService] [_7EG38y] Cluster
health status changed from [RED] to [YELLOW] (reason: [shards started [[data]
[0]] ...]).
[2018-12-10T00:48:00,430][INFO ][o.e.x.m.MlDailyMaintenanceService] triggering s
cheduled [ML] maintenance tasks
[2018-12-10T00:48:01,413][INFO ][o.e.x.m.a.TransportDeleteExpiredDataAction] [_7
EG38y] Deleting expired data
[2018-12-10T00:48:03,628][INFO ][o.e.x.m.a.TransportDeleteExpiredDataAction] [_7
EG38y] Completed deletion of expired data
[2018-12-10T00:48:03,643][INFO ][o.e.x.m.MlDailyMaintenanceService] Successfully
 completed [ML] maintenance tasks

标签: elasticsearch

解决方案


看起来像是 ML 计划的维护活动。不确定是否可以修改,请尝试在 Kibana 中检查 ML 下的预定事件。有关更多信息,请参阅链接。


推荐阅读