LogoLogo
WebsiteBlogLogin
  • Onum Docs
  • Use Cases
  • Videos
  • Release Notes
  • Welcome
  • Getting Started
    • About Onum
    • Architecture
    • Deployment
    • Getting Started with Onum
    • Understanding The Essentials
      • Cards and Table Views
      • Data Types
      • Graph Calculations
      • The Time Range Selector
    • Key Terminology
  • THE WORKSPACE
    • Home
    • Listeners
      • Cloud Listeners
      • Listener Integrations
        • Amazon
          • Amazon S3
          • Amazon SQS
        • Kafka
          • Apache Kafka
        • Cisco NetFlow
        • Google Cloud
          • Google Cloud Storage
          • Google Pub/Sub
        • HTTP
          • HTTP Pull
            • Netskope
            • OKTA
            • CrowdStrike
            • Cortex
        • Microsoft
          • Azure Event Hubs
          • Microsoft 365
        • OpenTelemetry
        • Syslog
        • TCP
        • Tick
      • Labels
    • Pipelines
      • Building a Pipeline
        • AI Assistant
          • AI Pipeline Assistant
          • AI Action Assistant
      • Listeners
      • Actions
        • Advanced
          • Anonymizer
          • Bring Your Own Code
          • Field Generator
          • For Each
          • Google DLP
          • HTTP Request
          • Redis
        • Aggregation
          • Accumulator
          • Group By
        • AI
          • Amazon GenAI
          • BLIP-2
          • Cog
          • Google GenAI
          • Llama
          • Replicate
        • Detection
          • Sigma Rules
        • Enrichment
          • Lookup
        • Filtering
          • Conditional
          • Sampling
        • Formatting
          • Message Builder
        • Schemas
          • OCSF
        • Transformation
          • Field Transformation
            • Field Transformation Operations
              • Arithmetic / Logic
                • Divide Operation
                • Median
                • Multiply Operation
                • Subtract Operation
                • Sum Operation
              • Code tidy
                • JSON Minify
              • Control characters
                • Escape String
                • Unescape String
              • Conversion
                • Convert Area
                • Convert Data Units
                • Convert Distance
                • Convert Mass
                • Convert Speed
                • List to String
                • String to List
              • Data format
                • From Base
                • From Base64
                • From Hex
                • To Base
                • To Base64
                • To Hex
              • Date / Time
                • From Unix Timestamp
                • To Timestamp
                • To Unix Timestamp
                • Translate Datetime Format
              • Encoding / Decoding
                • From Binary
                • To Binary
                • To Decimal
              • Encryption / Encoding
                • JWT Decode
              • File system permissions
                • Parse Unix file permissions
              • Format conversion
                • CSV to JSON
                • JSON to CSV
                • Protobuf to JSON
              • Hashing
                • Keccak
                • MD2
                • MD4
                • MD5
                • SHA0
                • SHA1
                • SHA2
                • SHA3
                • Shake
                • SM3
              • List manipulation
                • Index list boolean
                • Index list float
                • Index list integer
                • Index list string
                • Index list timestamp
              • Networking
                • Defang IP Address
                • Defang URL
                • Extract IP Address
                • Fang IP Address
                • Fang URLs
                • IP to Hexadecimal
                • Parse URI
                • URL Decode
                • URL Encode
              • Other
                • Parse Int
              • String
                • Length
              • Text sample adding
                • Pad Lines
              • Utils
                • Byte to Human Readable
                • Count Occurrences
                • CRC8 Checksum
                • CRC16 Checksum
                • CRC24 Checksum
                • CRC32 Checksum
                • Credit Card Obfuscator
                • Filter
                • Find and Replace
                • Regex
                • Remove Whitespace
                • Reverse String
                • Shuffle
                • Sort
                • Substring
                • Swap Case
                • To Lower Case
                • To Upper Case
          • Flat JSON
          • JSON Transformation
          • JSON Unroll
          • Math Expression
          • Parser
            • PCL (Parser Configuration Language)
        • Utils
          • Unique
      • Data sinks
      • Bulk Changes
      • Publishing & Versioning
      • Test your Pipeline
    • Data sinks
      • Data sink Integrations
        • Amazon
          • Amazon S3
          • Amazon SQS
        • Microsoft
          • Azure Blob Storage
          • Azure Event Hubs
        • Devo
        • Google Cloud
          • Google BigQuery
          • Google Cloud Storage
          • Google Pub/Sub
        • HTTP
        • Jira
        • Mail
        • Mongo DB
        • Null
        • OpenTelemetry
        • PagerDuty
        • Pushover
        • Qradar
        • Relational Databases
        • ServiceNow
        • Slack
        • Splunk
          • Splunk HEC
        • Syslog
          • Syslog
          • Syslog Resilient
        • TCP
        • Telegram
        • Twilio
    • Alerts
  • YOUR VAULT
    • Enrichment
    • Data History
    • Actions
  • ADMINISTRATION
    • Tenant Menu
    • Global Settings
      • Your Account
      • Organization Settings
        • Secrets Management
      • Tenant
        • Authentication
        • Users
        • Activity Log
        • API Keys
  • MARKETPLACE
    • Onum Marketplace
      • Pulling Pipelines
        • CrowdStrike Event Stream Logs - Falcon API
        • Netskope Events Alert
        • OKTA System Log API
        • Sophos Connector SIEM
Powered by GitBook
On this page
  • Overview
  • Configuration
  • Metadata
  • Metrics display
  • Configuration

Was this helpful?

Export as PDF
  1. THE WORKSPACE
  2. Data sinks
  3. Data sink Integrations

Mongo DB

Current version: v0.0.1

PreviousMailNextNull

Last updated 5 days ago

Was this helpful?

See the changelog of this Data sink type .

Overview

Onum supports integration with the Mongo Database server.

Select MongoDB from the list of Data sink types and click Configuration to start.


Configuration

Now you need to specify how and where to send the data, and how to establish a connection with your email.

Metadata

Enter the basic information for the new Data Sink.

Parameters
Description

Name*

Enter a name for the new Data Sink.

Description

Optionally, enter a description for the Data Sink.

Tags

Add tags to easily identify your Sink. Hit the Enter key after you define each tag.


Metrics display

Decide whether or not to include this Data sink info in the metrics and graphs of the Home area.


Configuration

Now add the configuration to establish the connection.

Authentication Method

Choose between the following options and fill in the fields that appear in order to authenticate your connection.

Parameter
Description

SRV Connection String*

Enter the Host URL to connect to a MongoDB cluster using DNS-based seedlists.

  • Log in to MongoDB

  • Choose the project that contains your cluster.

  • Click on the Clusters tab in the left-hand sidebar.

  • For the cluster you want to connect to, click the Connect button.

  • Select Connect your application for the connection method.

  • Copy the SRV Connection String:

    • mongodb+srv://:@cluster0.abcde.mongodb.net/myDatabase?retryWrites=true&w=majority

    • Replace username and password with your database credentials.

    • Replace myDatabase with your target database name.

Standard Connection String*

A standard MongoDB connection string (non-SRV).

  • Log in to MongoDB Atlas.

  • Select your project and cluster.

  • Click the Connect button for your cluster.

  • Choose Connect your application.

  • Click I don’t have a driver or scroll down to find the standard connection string option.

  • You’ll see something like:

    Replace:

    • <username> and <password> with your database credentials.

    • myDatabase with your specific database name.

  • Port: enter the specific port to connect to.

Authentication configuration

Leave as None if no authentication is needed, or select from the following:

Parameter
Description

SCRAM-SHA-256

  • Username*

  • Password*

  • Auth database - This is the auth source;the database where your credentials are stored e.g. mongodb://username:password@host:port/?authSource=admin means “Use the admin database to check this user’s credentials.”

SCRAM-SHA-1

  • Username*

  • Password*

  • Auth database - This is the auth source;the database where your credentials are stored e.g. mongodb://username:password@host:port/?authSource=admin means “Use the admin database to check this user’s credentials.”

X.509

  • Client certificate*

  • Client private key*

  • CA cerificate*

  • Auth database - This is the auth source;the database where your credentials are stored e.g. mongodb://username:password@host:port/?authSource=admin means “Use the admin database to check this user’s credentials.”

AWS IAM

  • Access key ID* -

    1. In the left panel, click on Users.

    2. Select your IAM user.

    3. Under the Security Credentials tab, scroll to Access Keys and you will find existing Access Key IDs (but not the secret access key).

  • Access key * -

    Under Access keys, you can see your Access Key IDs, but AWS will not show the Secret Access Key.

  • AWS session token -

    • Log in to the AWS Management Console via IAM Identity Center.

    • Click your username in the top-right corner and choose Command line or programmatic access.

  • Auth database - This is the auth source;the database where your credentials are stored e.g. mongodb://username:password@host:port/?authSource=admin means “Use the admin database to check this user’s credentials.”

Connection pool

Parameter
Description

Maximum pool size

Set a limit on the number of events per pool.

Minimum pool size

Set a minimum number of events per pool.

Maximum idle time (milliseconds)

Set a the maximum amount of milliseconds a request can be idle before being considered timed out.

Maximum simultaneous connections

Enter a maximum allowance for the number of simultaneous connections.

Advanced Configuration

Bulk configuration

Toggle ON to enable bulk settings. The values will be filled in by default, however you can change them if needed.

Parameter
Description

Trigger conditions

  • Number of events* Enter a maximum for the number of events in a bulk.

  • Event time limit* Enter the number of seconds to wait before a bulk is triggered.

Max number of buffers*

Enter the maximum buffers that a system, application, or service is allowed to allocate or use for storing temporary data while processing it.

  • Ordered: toggle ON to send the buffers in order.

Parameter
Description

Bypass Document Validation

Toggle ON to allow MongoDB to skip any schema validation rules or constraints that would normally be enforced when inserting or updating a document.

Select Finish and see your Sink appear in the list of Datasinks.

Add the access key from your or create one. The Access Key ID is found in the IAM Dashboard of the AWS Management Console.

plaintextCopyEditmongodb://<username>:<password>@cluster0-shard-00-00.abcde.mongodb.net:27017,cluster0-shard-00-01.abcde.mongodb.net:27017,cluster0-shard-00-02.abcde.mongodb.net:27017/myDatabase?ssl=true&replicaSet=atlas-abcde-shard-0&authSource=admin&retryWrites=true&w=majority
Secrets
here