MongoDB metadata collector
MongoDB metadata collector provides read-only access to metadata from a MongoDB account.
The MongoDB collector harvests metadata from MongoDB instances (clusters), databases, collections, indexes, search indexes, and document fields. The collector supports harvesting nested fields for Document and Object field types. The collector captures relationship information between instances, databases, collections, document fields, search indexes, and indexes.
Authentication supported
- Username and password authentication (SCRAM)
- X.509 authentication
- AWS Authentication
Metadata cataloged
The MongoDB collector catalogs the following information:
| Object | Information cataloged |
|---|---|
| MongoDB | MongoDB (instance, cluster) name, MongoDB (instance, cluster) version, Is Debug Mode |
| MongoDB Database | Database Name, Size On Disk, Is Empty, Views Number, Collections Number, Average Database Object Size, Data Size, Storage Size, Total Free Storage Size, Database Indexes Number, Database Indexes Size |
| MongoDB Collection (including Materialized View) | Collection Name, Documents Count, Collection Size, Average Object Size, Orphan Documents Number, Storage Size, Collection Free Storage Size, Total Index Size, Index Number, Collection Total Size, Is Capped, Capped Collection Maximum Size, Capped Documents Maximum Number |
| MongoDB View | View Name |
| MongoDB Collection Field | Field Name |
| MongoDB Index | Index Name, Index Size, Is Unique, Default Language |
| MongoDB Search Index | Index Name, Type, Status, Is Queryable, Is Dynamic, Creation Time |
Relationships between objects
Catalog pages show relationships between the following data asset types:
| Data asset page | Relationship |
|---|---|
| MongoDB | MongoDB Databases |
| MongoDB Database |
|
| MongoDB Collection |
|
| MongoDB View | MongoDB Collection Field |
| MongoDB Collection Field Note: The Analysis samples count parameter specifies the number of documents sampled from a collection to determine collection field types. This value must be a non-negative integer, with a default of 1000. Sampling is performed using the $sample aggregation. For more information, see the MongoDB sampling documentation. |
|
| MongoDB Index | MongoDB Collection |
| MongoDB Search Index | MongoDB Collection |