Ignoring unknown index setting with value archiving – How to solve this Elasticsearch error

Opster Team

Aug-23, Version: 6.8-7.15

Briefly, this error occurs when Elasticsearch encounters an unknown setting in the index configuration, in this case, “archiving”. Elasticsearch will ignore any settings it doesn’t recognize. This could be due to a typo, deprecated setting, or a setting that doesn’t exist. To resolve this issue, you can either remove the unknown setting from your index configuration or replace it with a valid one. If “archiving” is a custom plugin, ensure it’s properly installed and configured. Always check the Elasticsearch documentation for valid settings.

This guide will help you check for common problems that cause the log ” {} ignoring unknown index setting: [{}] with value [{}]; archiving ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: cluster, index, metadata.

Log Context

Log “{} ignoring unknown index setting: [{}] with value [{}]; archiving” classname is IndexMetadataVerifier.java.
We extracted the following from Elasticsearch source code for those seeking an in-depth context :

     */
    IndexMetadata archiveBrokenIndexSettings(IndexMetadata indexMetadata) {
        final Settings settings = indexMetadata.getSettings();
        final Settings newSettings = indexScopedSettings.archiveUnknownOrInvalidSettings(
            settings;
            e -> logger.warn("{} ignoring unknown index setting: [{}] with value [{}]; archiving";
                indexMetadata.getIndex(); e.getKey(); e.getValue());
            (e; ex) -> logger.warn(() -> new ParameterizedMessage("{} ignoring invalid index setting: [{}] with value [{}]; archiving";
                indexMetadata.getIndex(); e.getKey(); e.getValue()); ex));
        if (newSettings != settings) {
            return IndexMetadata.builder(indexMetadata).settings(newSettings).build();

 

 [ratemypost]