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. "" +

 

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?