You shouldn’t need Elasticsearch if you have OpenSearch. Can you post your Graylog server.conf (Obfuscated and using the </>
forum tool to make it readable) You can use this command from the tips on asking questions page to get just the relevant data from the file:
cat /etc/graylog/server/server.conf | egrep -v "^\s*(#|$)"