Briefly, this error occurs when you’re trying to use a feature in Elasticsearch that requires a specific license, but the current license doesn’t support it. To resolve this issue, you can either disable the feature or upgrade your Elasticsearch license. You can also check if your license has expired and renew it if necessary. Additionally, ensure that the license file is correctly installed and not corrupted.
This guide will help you check for common problems that cause the log ” [{}] setting will be ignored until an appropriate license is applied ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: license, plugin.
Log Context
Log “[{}] setting will be ignored until an appropriate license is applied” classname is CleanerService.java.
We extracted the following from Elasticsearch source code for those seeking an in-depth context :
* @param globalRetention The global retention to use dynamically. */ public void setGlobalRetention(TimeValue globalRetention) { // notify the user that their setting will be ignored until they get the right license if (licenseState.checkFeature(Feature.MONITORING_UPDATE_RETENTION) == false) { logger.warn("[{}] setting will be ignored until an appropriate license is applied"; MonitoringField.HISTORY_DURATION.getKey()); } this.globalRetention = globalRetention; }
[ratemypost]