- Create or Import a MongoDB Deployment >
- Data Explorer
Data Explorer¶
Ops Manager provides the ability to introspect collections in your managed MongoDB deployments via the Data Explorer view. Data Explorer reads from the primary unless the primary is unavailable. If the primary is unavailable, Data Explorer reads from a non-hidden, non-delayed secondary member.
Data Explorer uses the Automation Agent to retrieve all data. No Ops Manager configuration changes are required to access the Data Explorer.
Access Data Explorer
¶
Note
To access Data Explorer, you must be either the Project Owner or a Data Access Admin.
To access Data Explorer, click Deployment and then the managed MongoDB deployment to introspect. Select the Data Explorer tab. The tab lists the datatabases in your deployment and the collections in each database.
View Databases and Collections¶
From the Data Explorer tab, you can view the databases and collections in the deployment. To view the collections in a particular database, expand the database. To expand the database, you can either click on the database name or on the expand icon. If you click on the name of the database, the main panel displays the collection statistics for that database.
View Documents¶
From the Data Explorer tab, you can view documents in a collection. To view documents for a collection:
Select the database for the collection.¶
The main panel and the left-hand side displays the collections in the datatabse.
Select the collection on the left-hand side or in the main panel.¶
The main panel displays the Find view and the Indexes view.
Select the Find view.¶
The panel displays the documents in the collection. Each page displays up to 20 documents.
Optional. Specify query filter.¶
To specify filter condition, type in a query filter document in the filter bar. For example, to specify equality condition, use a filter document of the form:
To use query operators to specify a filter condition, use a filter document of the form:
For more information on specifying query filters, including compound conditions, see Query Documents.
Click Find to run query.¶
View Indexes¶
From the Data Explorer tab, you can view index information for a collection. To view index information for a collection:
Select the database for the collection.¶
The main panel and the left-hand side displays the collections in the datatabse.
Select the collection on the left-hand side or in the main panel.¶
The main panel displays the Find view and the Indexes view.
Select the Indexes view.¶
The indexes table lists the indexes and associated index information for the collection. Index information includes the index definition, the size, and the usage frequency.