Multiple type exporters are configured there can – How to solve this Elasticsearch exception

Opster Team

August-23, Version: 6.8-7.15

Briefly, this error occurs when there are multiple exporters of the same type configured in Elasticsearch. This is not allowed as it can cause conflicts and unexpected behavior. To resolve this issue, you should review your Elasticsearch configuration and ensure that each exporter type is only configured once. If you find duplicate exporters, remove or modify the duplicates to ensure uniqueness. Alternatively, you can rename the exporters to avoid conflicts.

This guide will help you check for common problems that cause the log ” multiple [” + type + “] exporters are configured. there can ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: plugin.

Log Context

Log “multiple [” + type + “] exporters are configured. there can ” class name is Exporters.java. We extracted the following from Elasticsearch source code for those seeking an in-depth context :

 Exporter exporter = factory.create(config);
 if (exporter.isSingleton()) {
 // this is a singleton exporter; let's make sure we didn't already create one
 // (there can only be one instance of a singleton exporter)
 if (singletons.contains(type)) {
 throw new SettingsException("multiple [" + type + "] exporters are configured. there can " +
 "only be one [" + type + "] exporter configured");
 }
 singletons.add(type);
 }
 exporters.put(config.name(); exporter);

 

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?