General
Connection stringA MongoDB connection string.
Example: mongodb://<username>:<password>@localhost:27017/<databaseName>
Here <databaseName>
is the database to connect to.
Collection NameThe name of the collection to query.
Example: documents
QueryA Mongo query that can be passed in find()
. Example: {"kind":"CONTAINER"}
The
Query input field uses HandleBars. You can use Handlebars to create dynamic queries. For more information, please read
HandleBarsFor nested keys, you can use the so-called dot-notation.
An empty query value or empty object {}
will return all the data from the database.
SortSpecify in the sort parameter the field or fields to sort by and a value of 1 or -1 to specify an ascending or descending sort respectively.
Example: {"kind":1}
ProjectionSpecify in the projection parameter the field or fields you want to include or exclude from the query result. A value of 1 indicates inclusion and a value of 0 indicates exclusion.
Inclusion and exclusion cannot be used simultaneously.
Example: {"kind":1}
DistinctThe distinct method retrieves an array of unique values for a specified field in a collection.
Example: {"kind"}
LimitSpecify a limit on the number of documents that you want to retrieve.
SkipSpecify the amount of documents that should be skipped before results are retrieved.
Enable parsing numberDecimalBy default Mongo will retrieve NumberDecimals (in this example 1.05) as { $numberDecimal: "1.05" }
. By enabling parsing numberDecimal the returning value will be a float: 1.05
instead.
Rounded numbers will parse to a number that does not have its decimals anymore. For example { "testKey": { $numberDecimal: "1.0" } }
will parse to { "testKey": 1 }
.
TLS
Use TLSWhether or not to use TLS in case your mongoDB requires TLS.
Allow Invalid CertificatesChecking this will disable certificate validation.
Specifying this option in a production environment makes your application insecure and potentially vulnerable to expired certificates and to foreign processes posing as valid client instances.
Certificate Authority FileOne or more certificate authorities to trust when making a TLS connection. In order to access the local filesystem, the XILL4_WORKDIRS
environment variable must be set to the path of the directory to be accessed.
Example: .\ca.pem
Rate limit
Batch sizeAllows you to configure the batch size.
IntervalThe interval in milliseconds in which the requests happen.