![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
sumologic-mongodb-atlas
Advanced tools
Solution to pull alerts from Mongo DB Atlas to Sumo Logic
This collector can be deployed both onprem and on cloud.
Get Authentication information from the MongoDB Atlas portal
Generate Programmatic API Keys with Project owner permissions using the instructions in the Atlas docs. Copy the Public Key and Private Key. These serve the same function as a username and API Key respectively. Note: If you want to use the AWS Lambda function for collection, do not Select Add Whitelist Entry.
Go to your project and then click on settings. Copy the project ID as shown below:
Go to your organization by using context drop down at the top. Then click on settings and copy the organization ID.
Add a Hosted Collector and one HTTP Logs and Metrics Source
yyyy-MM-dd'T'HH:mm:ss.SSS'Z'
\"created\": (.*),
.Method 1 - Configuring the sumologic-mongodbatlas collector
Below instructions assume pip is already installed if not then, see the pip docs on how to download and install pip. sumologic-mongodbatlas is compatible with python 3.7 and python 2.7. It has been tested on Ubuntu 18.04 LTS and Debian 4.9.130. Login to a Linux machine and download and follow the below steps:
Install the collector using below command
pip install sumologic-mongodbatlas
Create a configuration file named mongodbatlas.yaml in home directory by copying the below snippet.
SumoLogic:
HTTP_LOGS_ENDPOINT: <Paste the URL for the HTTP Logs source from step 2.>
HTTP_METRICS_ENDPOINT: <Paste the URL for the HTTP Metrics source from step 2.>
MongoDBAtlas:
ORGANIZATION_ID: Paste the Organization ID from step 1.
PROJECT_ID: Paste the Project ID from step 1.
PRIVATE_API_KEY: Paste the Private Key from step 1.
PUBLIC_API_KEY: Paste the Public Key from step 1.
Create a cron job for running the collector every 5 minutes by using the crontab -e and adding the below line
*/5 * * * * /usr/bin/python -m sumomongodbatlascollector.main > /dev/null 2>&1
Method 2 - Collection via an AWS Lambda function To install Sumo Logic’s AWS Lambda script, follow the instructions below:
Go to https://serverlessrepo.aws.amazon.com/applications Search for “sumologic-mongodb-atlas” and select the app as shown below:
When the page for the Sumo app appears as shown below, click the Deploy button as shown below:
In the Configure application parameters panel, shown below:
Click Deploy.
Whitelisting Lambda's IP Address
{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "ec2:DescribeNetworkInterfaces", "ec2:CreateNetworkInterface", "ec2:DeleteNetworkInterface", "ec2:DescribeInstances", "ec2:AttachNetworkInterface" ], "Resource": "*" } ] }
Click on Review policy>give an appropriate name>click on Create policy. Some users might already have these permissions enabled.
FAQs
Sumo Logic collection solution for mongodb atlas
We found that sumologic-mongodb-atlas demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.