How connect Metricbeat to Opensearch for monitoring OS and OS Dashboard?

HI @jdbright thank you for reply.

I would like to monitor with metricbeat Opensearch, OS Dashboard and also Logstash that in this case are all docker in different machine. I have read in this article Can’t connect Metricbeat to opensearch - OpenDistro - OpenSearch that it is possible but I am not managing to obtain the same result, also I do not understand why it gives me a version error considering that I am using the OSS version of Metricbeat.
Thank you