# 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
```

[![image.png](https://pandorafms.com/guides/public/uploads/images/gallery/2023-11/scaled-1680-/fUkimage.png)](https://pandorafms.com/guides/public/uploads/images/gallery/2023-11/fUkimage.png)

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:

```bash
curl -X GET -ku 'user:pass' https://<hostname_or_ip>:9200
```

[![image.png](https://pandorafms.com/guides/public/uploads/images/gallery/2023-11/scaled-1680-/TKWimage.png)](https://pandorafms.com/guides/public/uploads/images/gallery/2023-11/TKWimage.png)

If the check is correct and we have access to both environments, we can now use the viewpoint.