Hello!
I installed the OpenSearch Assistant, Observality Module, Machine Lerning Module and I could enabled the plugin.
I did it with this commands:
curl
https://artifacts.opensearch.org/releases/bundle/opensearch-dashboards/2.13.0/opensearch-dashboards-2.13.0-linux-x64.tar.gz -o opensearch-dashboards.tar.gz
tar -xvzf opensearch-dashboards.tar.gz
cp -r opensearch-dashboards-2.13.0/plugins/opensearch-observability/ /usr/share/wazuh-dashboard/plugins/
cp -r opensearch-dashboards-2.13.0/plugins/opensearch-ml/ /usr/share/wazuh-dashboard/plugins/
cp -r opensearch-dashboards-2.13.0/plugins/assistantDashboards/ /usr/share/wazuh-dashboard/plugins/
chown -R wazuh-dashboard:wazuh-dashboard /usr/share/wazuh-dashboard/plugins/<PLUGIN_NAME>/
chmod -R 750 /usr/share/wazuh-dashboard/plugins/<PLUGIN_NAME>/
systemctl restart wazuh-dashboard
After that:
But, when I do the Opensearch Tutorial (
https://opensearch.org/docs/latest/ml-commons-plugin/agents-tools/agents-tools-tutorial/) about enabled a model the Wazuh Indexer break and I see a KNN error.
Sep 20 19:06:00 wazuh-server systemd-entrypoint[7265]: fatal error in thread [opensearch[node-1][refresh][T#1]], exiting
Sep 20 19:06:00 wazuh-server systemd-entrypoint[7265]: java.lang.UnsatisfiedLinkError: no opensearchknn_nmslib in java.library.path: /usr/java/packages/lib:/usr/lib64:Sep 20 19:06:00 wazuh-server systemd-entrypoint[7265]: at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2458)Sep 20 19:06:00 wazuh-server systemd-entrypoint[7265]: at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:916)
Sep 20 19:06:00 wazuh-server systemd-entrypoint[7265]: at java.base/java.lang.System.loadLibrary(System.java:2063)
Sep 20 19:06:00 wazuh-server systemd-entrypoint[7265]: at org.opensearch.knn.jni.NmslibService.lambda$static$0(NmslibService.java:34)
Sep 20 19:06:00 wazuh-server systemd-entrypoint[7265]: at java.base/java.security.AccessController.doPrivileged(AccessController.java:319)
Sep 20 19:06:00 wazuh-server systemd-entrypoint[7265]: at org.opensearch.knn.jni.NmslibService.<clinit>(NmslibService.java:33)
I stopped in this point.
If anyone has a ideia, please comment
Best Regards,
Marcus