mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 18:35:25 +00:00
Modifying Monitoring cleanup acknowledgement message.
Original commit: elastic/x-pack-elasticsearch@1c5e1a3175
This commit is contained in:
parent
86ed96b83b
commit
9f41a99e37
@ -16,6 +16,7 @@ import org.elasticsearch.license.plugin.core.LicenseState;
|
||||
import org.elasticsearch.license.plugin.core.Licensee;
|
||||
import org.elasticsearch.license.plugin.core.LicenseeRegistry;
|
||||
import org.elasticsearch.marvel.Marvel;
|
||||
import org.elasticsearch.marvel.MarvelSettings;
|
||||
|
||||
/**
|
||||
* {@code MarvelLicensee} determines whether certain features of Monitoring are enabled or disabled.
|
||||
@ -65,7 +66,8 @@ public class MarvelLicensee extends AbstractLicenseeComponent<MarvelLicensee> im
|
||||
"separate and dedicated X-pack Kibana instance for each [{}] cluster you wish to monitor.",
|
||||
newLicense.type(), newLicense.type(), newLicense.type()),
|
||||
LoggerMessageFormat.format(
|
||||
"Automatic index cleanup is disabled for clusters with [{}] license.", newLicense.type())
|
||||
"Automatic index cleanup is locked to {} days for clusters with [{}] license.",
|
||||
MarvelSettings.HISTORY_DURATION.getDefault(Settings.EMPTY).days(), newLicense.type())
|
||||
};
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user