Hi Daniel,
Based on the error message, it seems that there is a YAML syntax error in your OpenSearch configuration file caused by the line plugins.security.audit.type: internal_opensearch that you added.
The error message indicates that the 'mapping values are not allowed here'. Please make sure that the 'plugins.security.audit.type: internal_opensearch' line is properly formatted and placed in the correct section of the file.
It should be written as follows:
plugins:
security:
audit:
type: internal_opensearch
Make sure that this line is added to the opensearch.yml file in the correct location and with the correct formatting. Additionally, check that there are no other syntax errors in the file.
Once you have made these changes, restart the OpenSearch nodes and see if the issue is resolved.
I hope this is helpful.
Best regards,