Invalid slack name account settings missing required URL SETTING setting – How to solve this Elasticsearch exception

Opster Team

August-23, Version: 6.8-6.8

Briefly, this error occurs when the Elasticsearch Slack account settings are not correctly configured. Specifically, the URL_SETTING, which is a mandatory field, is missing. To resolve this issue, you should review your Slack account settings in Elasticsearch and ensure that the URL_SETTING is correctly specified. This could involve checking your configuration files or your Elasticsearch setup for any errors or omissions. Additionally, ensure that the URL_SETTING is pointing to the correct Slack webhook URL.

This guide will help you check for common problems that cause the log ” invalid slack [” + name + “] account settings. missing required [” + URL_SETTING + “] setting ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: plugin, settings.

Log Context

Log “invalid slack [” + name + “] account settings. missing required [” + URL_SETTING + “] setting” class name is SlackAccount.java. We extracted the following from Elasticsearch source code for those seeking an in-depth context :

 if (secureStringUrl != null && secureStringUrl.length() > 0) {
 url = secureStringUrl.toString();
 }
 }
 if (url == null) {
 throw new SettingsException("invalid slack [" + name + "] account settings. missing required [" + URL_SETTING + "] setting");
 }
 try {
 return new URI(url);
 } catch (URISyntaxException e) {
 throw new SettingsException("invalid slack [" + name + "] account settings. invalid [" + URL_SETTING + "] setting"; e);

 

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?