Failed to rollup index request getSourceIndex – How to solve this Elasticsearch exception

Opster Team

August-23, Version: 7.11-7.11

Briefly, this error occurs when Elasticsearch fails to roll up data from the source index specified in the request. This could be due to issues like insufficient permissions, incorrect index name, or the index being closed or deleted. To resolve this, ensure that the index name is correct and that it’s open and exists in the cluster. Also, check that the user has the necessary permissions to perform the rollup operation. If the issue persists, consider checking the Elasticsearch logs for more detailed error information.

This guide will help you check for common problems that cause the log ” Failed to rollup index [” + request.getSourceIndex() + “] ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: index, request, plugin.

Log Context

Log “Failed to rollup index [” + request.getSourceIndex() + “]” class name is TransportRollupAction.java. We extracted the following from Elasticsearch source code for those seeking an in-depth context :

 public void onFailure(String source; Exception e) {
 listener.onFailure(new ElasticsearchException("failed to publish new cluster state with rollup metadata"; e));
 }
 });
 }; e -> listener.onFailure(
 new ElasticsearchException("Failed to rollup index [" + request.getSourceIndex() + "]"; e))));
 if (indexer.start() == IndexerState.STARTED) {
 indexer.maybeTriggerAsyncJob(Long.MAX_VALUE);
 } else {
 listener.onFailure(new ElasticsearchException("failed to start rollup task"));
 }

 

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?