Field | Notes |
---|---|
mongodb.url | The connection string of MongoDB. |
collection.name | The collection or collections you want to ingest data from. Use the format db_name.collection_name to specify which database the collection is in. To ingest data from collections in different database, use a comma-separated list of regular expressions. |
INCLUDE timestamp AS column_name
clause, it allows you to ingest the upstream commit timestamp. For historical data, the commit timestamp will be set to 1970-01-01 00:00:00+00:00
. Here is an example:
Field | Notes |
---|---|
database_name | Name of the database. |
collection_name | Name of the MongoDB collection. |
dev
database.
db1
and db2
.