No default Azure data store configured – How to solve this Elasticsearch exception

Opster Team

August-23, Version: 6.8-6.8

Briefly, this error occurs when Elasticsearch is trying to connect to Azure for snapshot or backup operations, but no default Azure data store is configured. To resolve this issue, you can either configure a default Azure data store in the Elasticsearch settings or specify the data store directly in the snapshot or backup request. Additionally, ensure that Elasticsearch has the necessary permissions to access the Azure data store.

This guide will help you check for common problems that cause the log ” No default Azure data store configured ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: azure, repository-azure, plugins, repositories.

Log Context

Log “No default Azure data store configured” class name is AzureStorageSettings.java. We extracted the following from Elasticsearch source code for those seeking an in-depth context :

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
+ "] and [" + setting.getName() + "]");
}
}
}
if (primary == null) {
throw new SettingsException("No default Azure data store configured");
}
return primary;
}
}
+ "] and [" + setting.getName() + "]"); } } } if (primary == null) { throw new SettingsException("No default Azure data store configured"); } return primary; } }
 + "] and [" + setting.getName() + "]");
 }
 }
 }
 if (primary == null) {
 throw new SettingsException("No default Azure data store configured");
 }
 return primary;
 }
 }

 

 [ratemypost]