Unknown parameter incremental file count – How to solve this Elasticsearch exception

Opster Team

August-23, Version: 6.8-8.9

Before you dig into reading this guide, have you tried asking OpsGPT what this log means? You’ll receive a customized analysis of your log.

Try OpsGPT now for step-by-step guidance and tailored insights into your Elasticsearch operation.

Briefly, this error occurs when an unrecognized parameter, in this case [incremental_file_count], is used in an Elasticsearch request. Elasticsearch cannot process the request because it doesn’t understand this parameter. To resolve this issue, you should first verify the parameter name for any typos or syntax errors. If the parameter name is correct, check if it’s supported in your version of Elasticsearch. If it’s not supported, you may need to upgrade your Elasticsearch version or find an alternative way to achieve your goal without using this parameter.

For a complete solution to your to your search operation, try for free AutoOps for Elasticsearch & OpenSearch . With AutoOps and Opster’s proactive support, you don’t have to worry about your search operation – we take charge of it. Get improved performance & stability with less hardware.

This guide will help you check for common problems that cause the log ” unknown parameter [incremental_file_count] ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: blobstore, index.

Log Context

Log “unknown parameter [incremental_file_count]” class name is BlobStoreIndexShardSnapshot.java. We extracted the following from Elasticsearch source code for those seeking an in-depth context :

 private static final String NAME = "name";
 private static final String START_TIME = "start_time";
 private static final String TIME = "time";
 private static final String FILES = "files";
 // for the sake of BWC keep the actual property names as in 6.x
 // + there is a constraint in #fromXContent() that leads to ElasticsearchParseException("unknown parameter [incremental_file_count]");
 private static final String INCREMENTAL_FILE_COUNT = "number_of_files";
 private static final String INCREMENTAL_SIZE = "total_size";  private static final ParseField PARSE_NAME = new ParseField(NAME);
 private static final ParseField PARSE_START_TIME = new ParseField(START_TIME);


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?

Get expert answers on Elasticsearch/OpenSearch