# README
mongodb
Usage
source:
name: mongodb
config:
connection_url: mongodb://admin:pass123@localhost:3306
exclude:
databases:
- database_a
- database_b
collections:
- database_c.collection_a
Inputs
Key | Value | Example | Description | |
---|---|---|---|---|
connection_url | string | mongodb://admin:pass123@localhost:3306 | URL to access the mongodb server | required |
exclude.databases | []string | [ database_a, database_b] | List of databases to be excluded | optional |
exclude.collections | []string | [ database_c.collection_a, database_c.collection_b] | List of collections to be excluded | optional |
Outputs
Field | Sample Value |
---|---|
resource.urn | my_database.my_collection |
resource.name | my_collection |
resource.service | mongodb |
description | table description |
profile.total_rows | 2100 |
Contributing
Refer to the contribution guidelines for information on contributing to this module.
# Functions
New returns a pointer to an initialized Extractor Object.