MongoDB
Logs Collected
The logs collected for MongoDB, when utilized by the Google Stackdriver's Log-based metrics, can provide the ability to monitor all users attempting to access the database. Divulging who made the attempt, when the attempt was made, and whether the attempt was successful.
Supported Versions
MongoDB: 3.x, 4.0
Log Collection Setup
Follow these steps to set up log collection from MongoDB.
Pre-requisites
Locate the local MongoDB log file location.
MongoDB Log Location
The MongoDB log location is set by your mongod.conf file.
For more information, click here.
Configure a MongoDB Source
- Install the BindPlane Log Agent on the host system.
- Login to BindPlane and select the Logs tab.
- Select the Sources tab.
- In the top-right portion of the screen, click on the Add Source Configuration button
- Choose MongoDB
- Fill out the MongoDB log configuration options.
Updated over 4 years ago