Provide the full connection string as given by the Atlas dashboard (starting with mongodb+srv://). For local MongoDB instances, leave this field empty and use host, database, and authentication parameters instead.
4
Database
Name of the MongoDB database to connect to.
5
Authentication database
The database in which the MongoDB user is created. This is used as the authSource during authentication.
6
Username
Username for authenticating with the MongoDB instance.
7
Password
Password for the provided username. Used during authentication.
8
View Name
Name of the MongoDB view to retrieve data from. (optional)
View
OctoXLabs needs a for integration. In this view, the name of the column with the hostname must be Hostname. You can add the remaining fields as you wish.
9
Custom query
The custom query field for MongoDB. (optional).
Example:
example.json
{"hostname":{"$in":["server1.example.com"]}}
10
Collection Name
The name of the MongoDB collection to query. (required).
Example: servers
Please perform a connection test to ensure there is a valid connection to the host.
When the discovery operation is finalized, you will be able to see the details on the Assets page.