Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

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

The MongoDB collector supports the following authentication methods:

  • Username and password authentication (SCRAM)
  • X.509 authentication
  • AWS Authentication

Metadata cataloged

The MongoDB collector catalogs the following information:

ObjectInformation cataloged
MongoDBMongoDB (instance, cluster) name, MongoDB (instance, cluster) version, Is Debug Mode
MongoDB DatabaseDatabase 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 ViewView Name
MongoDB Collection FieldField Name
MongoDB IndexIndex Name, Index Size, Is Unique, Default Language
MongoDB Search IndexIndex Name, Type, Status, Is Queryable, Is Dynamic, Creation Time

Relationships between objects

Catalog pages show relationships between the following data asset types:

Data asset pageRelationship
MongoDBMongoDB Databases
MongoDB Database- MongoDB Collections - MongoDB instance - MongoDB Views
MongoDB Collection- MongoDB Database - MongoDB Collection Fields - MongoDB Indexes - MongoDB Search Indexes
MongoDB ViewMongoDB Collection Field
MongoDB Collection FieldNote: 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.- Nested MongoDB Collection Fields - MongoDB Collection - MongoDB View
MongoDB IndexMongoDB Collection
MongoDB Search IndexMongoDB Collection

Parent Topic:Configuring metadata collectors