What does Atlan crawl from MongoDB Atlas?
Atlan crawls and maps the following assets and properties from MongoDB Atlas. Atlan currently doesn't support lineage for MongoDB Atlas assets.
Once you have crawled MongoDB, you can use connector-specific filters for quick asset discovery. The following filter is currently supported for MongoDB collections:
- Collection type filter - filtering options include Time Series, Capped, and Clustered collection types
Databases
Atlan maps databases from MongoDB to its Database asset type.
| Source property | Atlan property |
|---|---|
TABLE_CAT | name |
TABLE_COUNT | mongoDBDatabaseCollectionCount |
Collections
Atlan maps collections from MongoDB to its Collection asset type.
| Source property | Atlan property |
|---|---|
TABLE_NAME | name |
TABLE_CAT | databaseName |
COLUMN_COUNT | columnCount |
collStats.storageSize | sizeBytes |
collStats.count | rowCount |
type | mongoDBCollectionSubtype |
schema | mongoDBCollectionSchemaDefinition |
collStats.capped | mongoDBCollectionIsCapped |
collStats.maxSize | mongoDBCollectionMaxSize |
collStats.max | mongoDBCollectionMaximumDocumentCount |
options.timeseries.timeField | mongoDBCollectionTimeField |
options.timeseries.granularity | mongoDBCollectionTimeGranularity |
options.expireAfterSeconds | mongoDBCollectionExpireAfterSeconds |
collStats.numOrphanDocs | mongoDBCollectionNumOrphanDocs |
collStats.nindexes | mongoDBCollectionNumIndexes |
collStats.totalIndexSize | mongoDBCollectionTotalIndexSize |
collStats.avgObjSize | mongoDBCollectionAverageObjectSize |
Columns
Atlan infers column metadata from MongoDB collection documents by analyzing document schemas during the crawl. Column extraction consolidates observed fields (including nested structures) into a unified view, with each unique field path represented as a column. Top-level columns have depth 1; nested fields have a parent column and a hierarchy path. Column-level lineage isn't supported for MongoDB Atlas.
Atlan maps the following metadata from MongoDB Atlas to its Column asset type:
| Source inferred property | Atlan property |
|---|---|
| field name (path) | name |
| precomputed qualified name | qualifiedName |
| position in collection | order |
| position within parent (nested) | nestedColumnOrder |
| inferred type | dataType |
| sub type (nested) | subDataType |
| raw type definition (for example JSON schema) | rawDataTypeDefinition |
| depth in hierarchy (1 = top-level) | columnDepthLevel |
| number of nested columns | nestedColumnCount |
| hierarchy path (nested) | columnHierarchy |
| parent field name (nested only) | parentColumnName |
| parent column qualified name (nested only) | parentColumnQualifiedName |
| collection name | nosqlCollectionName |
| collection qualified name | nosqlCollectionQualifiedName |
| database name | databaseName |
| database qualified name | databaseQualifiedName |
| (MongoDB fields are nullable) | isNullable |
See also
- Preflight checks for MongoDB Atlas: Verify user privileges before crawling.
- Crawl MongoDB assets: Run a crawl and use filters.
- Set up MongoDB Atlas: Configure the connector.
- Troubleshooting connectivity: Resolve connection issues.