Hi! I did some tests about this and here is a link to a document where it explains how to enable it:
At the top of the page there is an important warning that the feature cannot be used in production.
On the other hand, in Wazuh dashboard some plugins are removed.
Here you can see that several plugins are removed for Wazuh dashboard:
The ml-commons plugin does not appear to be one of the ones removed.
Could you tell me why you want to use the ml-commons plugin in OpenSearch Dashboards 2.6.0, as the warning on the documentation page seems a bit strange and maybe that is why it is not included in Wazuh dashboard, or that the base OpenSearch Dashboards distributable that was used to build Wazuh dashboard 4.4.0 does not have it.
I deployed Wazuh dashboard (via the Docker imange of Wazuh dashboard 4.4.0 which is based on OpenSearch Dashboards 2.6.0) and it does not appear that the ml-commons plugin is there.
wazuh-dashboard@wazuh:~$ ls plugins/
alertingDashboards customImportMapDashboards ganttChartDashboards indexManagementDashboards notificationsDashboards reportsDashboards securityDashboards wazuh
If the plugin is not present and a configuration related to the plugin is set in the Wazuh dashboards configuration file (opensearch_dashboards.yml), then it will fail to start.
As far as I saw the ml-commons plugin is not included in Wazuh dashboard.
If you had the ml-commons plugin package, this could perhaps be installed on Wazuh dashboard but I don't know if it is available as standalone, you can also try to build it from the OpenSearch Dashboards:
If the package can be built, it could possibly be installed on Wazuh dashboard 4.4.0.