Rollup index not found during rollup search – How to solve this Elasticsearch error

Opster Team

Aug-23, Version: 6.8-7.1

Briefly, this error occurs when Elasticsearch tries to perform a rollup search on an index that doesn’t exist. Rollup is a feature that aggregates data and stores it in a separate index for efficient analysis. The error indicates that the specified rollup index is missing. To resolve this issue, you can either create the missing rollup index or ensure that the correct rollup index name is used in the search query. Also, check if the rollup job was successful and the rollup index was created properly.

This guide will help you check for common problems that cause the log ” Rollup index not found during rollup search. ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: plugin, index, search.

Log Context

Log “Rollup index not found during rollup search.” classname is RollupResponseTranslator.java.
We extracted the following from Elasticsearch source code for those seeking an in-depth context :

                    if (item.isFailure()) {
                        Exception e = item.getFailure();
                        // If we have a normal response we can tolerate a missing rollup response; although it theoretically
                        // should be handled by a different code path (verifyResponse)
                        if (e instanceof IndexNotFoundException) {
                            logger.warn("Rollup index not found during rollup search."; e);
                        } else {
                            throw new RuntimeException(item.getFailureMessage(); item.getFailure());
                        }
                        return null;
                    } else {

 

 [ratemypost]