MongoDB metadata collector

  • Release version: Australia
  • Updated March 12, 2026
  • 1 minute to read
  • 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:

    Table 1. Cataloged metadata
    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:

    Table 2. Relationships between cataloged objects
    Data asset page Relationship
    MongoDB MongoDB Databases
    MongoDB Database
    • MongoDB Collections
    • MongoDB instance
    • MongoDB Views
    MongoDB Collection
    • MongoDB Database
    • MongoDB Collection Fields
    • MongoDB Indexes
    • MongoDB Search Indexes
    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.

    • Nested MongoDB Collection Fields
    • MongoDB Collection
    • MongoDB View
    MongoDB Index MongoDB Collection
    MongoDB Search Index MongoDB Collection