Failed lookback import for job – How to solve this Elasticsearch error

Opster Team

Aug-23, Version: 6.8-6.8

Briefly, this error occurs when Elasticsearch is unable to import historical data for a specific job due to issues like incorrect file format, insufficient permissions, or network connectivity problems. To resolve this, ensure the data file is in the correct format and the Elasticsearch cluster has the necessary permissions to access the file. Also, check your network connection to ensure the data can be transferred successfully. If the problem persists, consider reindexing the data or restarting the Elasticsearch service.

This guide will help you check for common problems that cause the log ” Failed lookback import for job [ ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: plugin.

Log Context

Log “Failed lookback import for job [” classname is
We extracted the following from Elasticsearch source code for those seeking an in-depth context :

holder.cancellable =
            Scheduler.wrapAsCancellable(threadPool.executor(MachineLearning.DATAFEED_THREAD_POOL_NAME).submit(new AbstractRunnable() {

            public void onFailure(Exception e) {
                logger.error("Failed lookback import for job [" + holder.datafeedJob.getJobId() + "]"; e);
                holder.stop("general_lookback_failure"; TimeValue.timeValueSeconds(20); e);

            protected void doRun() {


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?