Dear all,
I am trying to deploy the Llama3 model via the OpenSearch ML plugins and integrate it with the OpenSearch Assistant Chatbot.
The model deployment was successful. However, when attempting to create an agent to connect it to OpenSearch Assistant using the following request:
I received this error:
After further investigation, I found that .plugins-ml-config is a system index and requires special permissions even for "Admin" user. I have tried various options based on both Wazuh and OpenSearch documentation, but without success.
Could you please provide any guidance or suggestions on how to resolve this error, or possible workarounds to enable creating an agent for OpenSearch Assistant?
Hi Chukwudalu,
Thanks for your kind reply.
I noticed in this Wazuh blog post — https://wazuh.com/blog/leveraging-claude-haiku-in-the-wazuh-dashboard-for-llm-powered-insights/ — that the same PUT .plugins-ml-config/_doc/os_chat command was used successfully. That suggests there is a method to obtain the necessary permissions for OpenSearch system indices.
Could you please advise how to grant the appropriate permissions (or point me to the exact steps) to allow creating an agent in .plugins-ml-config? Any guidance is much appreciated.
Thanks in advance,
Thanks for your kind reply.
I was considering changing the parameter plugins.security.system_indices.enabled: false, but I was concerned about potential security risks, since these indices are protected for valid reasons according to the OpenSearch documentation.
My question is: would disabling this setting (plugins.security.system_indices.enabled: false) introduce any security issues if applied in a production environment?
Best regards,
Setting the value of plugins.security.system_indices.enabled to false resolves the issue; however, I believe this introduces a potential security risk, so I wouldn’t recommend changing it in a production environment.
Is there an alternative solution that preserves the protection of system indices, or is disabling this parameter the only available option?