MongoDB Integration

Overview

MongoDB is a source-available, cross-platform, document-oriented database program. Classified as a NoSQL database product, MongoDB utilizes JSON-like documents with optional schemas.

Prerequisites

  • Logsign 6.4.10+ versions support this integration.

Configure On Logsign

  1. Login to your Logsign UI.
  2. Click Settings > Data Collection > +Device.
  3. Define the settings as follows:
  • Select the MongoDB.
  • Host: Define the host of the MongoDB to be integrated with Logsign. 
  • Username: Define the username.
  • Password: Define the password.
  • Database: Define the database.
  • Authentication Database:The name of the database to which the user you defined for retrieving logs has access. If you are using a user with root privileges, you can specify any database.
  • Collection: Define the collection. 
  1. Click the Check Connection button.
  1. Define the settings are completed as follows:
  • Position Column: The selected column here tracks a column that Logsign will use to avoid retrieving duplicate logs. This can be an object ID or a timestamp. For the example database, a column for the time example can be written as follows.

 Example 1 - Time Position:

In a collection with a time column, the field type only supports the ISODATE format.

Example database:

 

Logsign:

 

Example 2 - ObjectID Position:

If you want to use the default `_id` column provided by MongoDB, you can proceed as follows.

Example database:

Logsign:

  • Period: Specify the period.
  • Data Policy: If you have a Data Policy to add for the source, please add it.
  • Check Health: If there is a Health Check Period you want to define, click Check Health.
  • Device Name: Define the Device Name.
  • Tags: If you want to add any tags, please define it.
  • Roles: If you want to specify any roles, please select it.

  1. Click the Save button.
Was this article helpful?
0 out of 1 found this helpful

Articles in this section

See more
Become a Certified Logsign User/Administrator
Sign-up for Logsign Academy and take the courses to learn about Logsign USO Platform in detail. Enjoy the courses, and get your badges and certificates. In these courses, you'll learn how to use Logsign in your work and add value to your career.
Visit Our Blog
Our Logsign USO Platform illustrate our expertise. So do the blog. Through our blog posts, deepen your knowledge on various SecOps topics or get updated about important news & modern approaches for cybersecurity. Get into the habit of reading valuable information provided by Logsign. Be a step ahead.