Briefly, this error occurs when Elasticsearch is executing scheduled Machine Learning (ML) maintenance tasks. It’s not an error but an informational message indicating that the system is performing routine tasks such as model snapshot deletion, results retention, and audit message maintenance. If this message is causing concern, you can adjust the logging level to avoid seeing these informational messages. Alternatively, you can adjust the frequency of these tasks in the ML settings if they are causing performance issues. However, these tasks are necessary for the proper functioning of the ML features in Elasticsearch.
This guide will help you check for common problems that cause the log ” triggering scheduled [ML] maintenance tasks ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: plugin.
Log Context
Log “triggering scheduled [ML] maintenance tasks” classname is MlDailyMaintenanceService.java.
We extracted the following from Elasticsearch source code for those seeking an in-depth context :
} if (MlMetadata.getMlMetadata(clusterService.state()).isResetMode()) { logger.warn("skipping scheduled [ML] maintenance tasks because machine learning feature reset is in progress"); return; } logger.info("triggering scheduled [ML] maintenance tasks"); if (isAnomalyDetectionEnabled) { triggerAnomalyDetectionMaintenance(); } if (isDataFrameAnalyticsEnabled) {
[ratemypost]