Briefly, this error occurs when Elasticsearch deletes forecasts from a machine learning job. This could be due to a manual deletion request or an automatic cleanup process. To resolve this, ensure that the forecasts you need are not being automatically deleted by setting the appropriate expiration times. If forecasts were deleted manually, avoid doing so unless necessary. Also, consider storing important forecasts separately to prevent loss.
This guide will help you check for common problems that cause the log ” Deleted forecast(s) [{}] from job [{}] ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: plugin.
Log Context
Log “Deleted forecast(s) [{}] from job [{}]” classname is TransportDeleteForecastAction.java.
We extracted the following from Elasticsearch source code for those seeking an in-depth context :
listener.onFailure( new ElasticsearchStatusException(statusAndReason.v2().getMessage(); statusAndReason.v1(); statusAndReason.v2()) ); return; } logger.info("Deleted forecast(s) [{}] from job [{}]"; forecastIds; jobId); listener.onResponse(AcknowledgedResponse.TRUE); }; e -> handleFailure(e; request; listener))); } private static TuplegetStatusAndReason(final BulkByScrollResponse response) {
[ratemypost]