It does sound like the index is being created from your description (or possibly has been).
For mongocli
index creation, could you try the following and advise accordingly:
- Have the Atlas UI open at the Database Deployments section (where you see all your clusters). Ensure the cluster where you are creating the index exists there in the Database Deployments section.
- Run the
mongocli
create index command - After running the above command, quickly switch back to the Atlas UI and check if the following are shown:
- A blue bar at the top of the database deployments section:
- The following entry (or similar) exists in the Project Activity Feed:
User performed a Data Explorer CRUD operation, which modifies data
Username: abcdefgh /// this is a altered public api key for example purposes
Operation: createRollingIndex
Database: testdb
Collection: testcoll
Changed by an API key with Public key: abcdefgh from 159.xx.xx.xx
Note: The blue bar indiciating changes are being deployed could be for another change to a resource in your project but it’s a good thing to check during the time of index creation as well for troubleshooting purposes
Could you then also provide further information regarding:
- The
mongocli
version being used - The full
mongocli
command used to create the index (Please redact any personal or sensitive information before sending here)
I did some testing using a M10 cluster with mongocli
version 1.23.1 and was able to see the index created from mongocli
in the Atlas UI using the following command:
$ mongocli atlas clusters indexes create mongocliindex --clusterName "testCluster" --collection "testcoll" --db "testdb" --key "test:1"
Your index is being created
If you have multiple projects in your Atlas organization, you can possibly try specifying the --projectId
option when creating the index to ensure the index is created on the correct project. The project ID can be found in the Project Settings page
Regards,
Jason