Failed to get trained models usage to include in ML usage – How to solve this Elasticsearch error

Opster Team

Aug-23, Version: 7.17-7.17

Briefly, this error occurs when Elasticsearch is unable to retrieve the usage data of trained machine learning models. This could be due to issues with the machine learning module, network connectivity, or permissions. To resolve this, ensure that the machine learning module is properly configured and working. Check the network connectivity between the nodes. Also, verify that the user has the necessary permissions to access the machine learning data. If the problem persists, consider restarting the Elasticsearch cluster or reindexing the data.

This guide will help you check for common problems that cause the log ” Failed to get trained models usage to include in ML usage ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: plugin.

Log Context

Log “Failed to get trained models usage to include in ML usage” classname is MachineLearningFeatureSet.java.
We extracted the following from Elasticsearch source code for those seeking an in-depth context :

                    inferenceUsage;
                    nodeCount
                );
                listener.onResponse(usage);
            }; e -> {
                logger.warn("Failed to get trained models usage to include in ML usage"; e);
                MachineLearningFeatureSetUsage usage = new MachineLearningFeatureSetUsage(
                    available;
                    enabled;
                    jobsUsage;
                    datafeedsUsage;

 

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?