java.lang.Object
org.elasticsearch.xpack.core.ml.MlStatsIndex
Describes the indices where ML is storing various stats about the users jobs.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcreateStatsIndexAndAliasIfNecessary(Client client, ClusterState state, IndexNameExpressionResolver resolver, org.elasticsearch.core.TimeValue masterNodeTimeout, ActionListener<Boolean> listener) Creates the first concrete .ml-stats-000001 index (if necessary) Creates the .ml-stats-write alias for that index.static Stringstatic Stringmapping()static Stringstatic String
-
Field Details
-
TEMPLATE_NAME
- See Also:
-
STATS_INDEX_MAPPINGS_VERSION
public static final int STATS_INDEX_MAPPINGS_VERSION- See Also:
-
-
Method Details
-
wrappedMapping
-
mapping
-
indexPattern
-
writeAlias
-
createStatsIndexAndAliasIfNecessary
public static void createStatsIndexAndAliasIfNecessary(Client client, ClusterState state, IndexNameExpressionResolver resolver, org.elasticsearch.core.TimeValue masterNodeTimeout, ActionListener<Boolean> listener) Creates the first concrete .ml-stats-000001 index (if necessary) Creates the .ml-stats-write alias for that index. The listener will be notified with a boolean to indicate if the index was created because of this call, but unless there is a failure after this method returns the index and alias should be present.
-