MongoDB
Extract data from a MongoDB instance
Setup
Using sling conns
sling conns$ sling conns set MONGODB type=mongodb host=<host> user=<user> password=<password> port=<port> Environment Variable
# see https://www.mongodb.com/docs/manual/reference/connection-string-options/#std-label-connections-connection-options for URL options
export MONGODB='mongodb://root:[email protected]:27017?authSource=<database>'
export MONGODB='{ type: mongodb, user: "root", password: "password", host: "host.ip", port: 27017, authSource: "<database>" }'Sling Env File YAML
Examples
Last updated
Was this helpful?