Deleted forecast s from job – How to solve this Elasticsearch error

Opster Team

Aug-23, Version: 6.8-8.9

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
We extracted the following from Elasticsearch source code for those seeking an in-depth context :

                    new ElasticsearchStatusException(statusAndReason.v2().getMessage(); statusAndReason.v1(); statusAndReason.v2())
  "Deleted forecast(s) [{}] from job [{}]"; forecastIds; jobId);
        }; e -> handleFailure(e; request; listener)));

    private static Tuple getStatusAndReason(final BulkByScrollResponse response) {


How helpful was this guide?

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?