No default storage settings has been defined – How to solve this Elasticsearch error

Opster Team

Aug-23,

Log Context

Log “no default storage settings has been defined.” classname is AzureStorageSettings.java.
We extracted the following from Elasticsearch source code for those seeking an in-depth context :

if (primaryStorage == null && secondaryStorage.isEmpty() == false) {
                    Map.Entry fallback = secondaryStorage.entrySet().iterator().next();
                    // We only warn if the number of secondary storage if > to 1
                    // If the user defined only one storage account; that's fine. We know it's the default one.
                    if (secondaryStorage.size() > 1) {
                        logger.warn("no default storage settings has been defined. " +
                                "Add \"default\"": true to the settings you want to activate by default. "" +

 

 [ratemypost]

Opster
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.