Previous configuration
Check that you have access to Elasticsearch.
From the machine where the migrator will run, run a test with curl to verify connectivity.
curl http://<hostname_or_ip>:9200
Perform the same check, but this time to the opensearch environment, it can be done with the same command and changing the hostname or ip in the case of not having basic authentication.
In case of having authentication you must execute:
curl -X GET -ku 'user:pass' https://<hostname_or_ip>:9200
If the check is correct and we have access to both environments, we can now use the viewpoint.