Elasticsearch exception [Opensearch - Graylog]

Hi, I have an OpenSearch 2.11 installation on AWS communicating with a GrayLog version 5.1 container. Any stream I try to open gives me this error:
Elasticsearch exception [type=illegal_argument_exception, reason=key [types] is not supported in the metadata section]

After some online research I followed the advice to set the compatibility.override_main_response_version variable to false, but this, in addition to not solving the problem, causes an error in GrayLog setup, so this solution didn’t work for me.

Thanks for the help!

Hey @fpb20

what happens if you remove or comment it out from opensearch config file:?

compatibility.override_main_response_version: true

and restart services.

EDIT: have to tried this?