{ "info": { "author": "SumoLogic", "author_email": "it@sumologic.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.7" ], "description": "# sumologic-mongodb-atlas\n\nSolution to pull alerts from Mongo DB Atlas to Sumo Logic\n\n\n## Installation\n\nThis collector can be deployed both onprem and on cloud.\n\n\n### Deploying the collector on a VM\n1. Get Authentication information from the MongoDB Atlas portal\n * 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.\n * Go to your project and then click on settings. Copy the project ID as shown below:\n\n * Go to your organization by using context drop down at the top. Then click on settings and copy the organization ID.\n\n\n2. Add a Hosted Collector and one HTTP Logs and Metrics Source\n\n * To create a new Sumo Logic Hosted Collector, perform the steps in [Configure a Hosted Collector](https://help.sumologic.com/03Send-Data/Hosted-Collectors/Configure-a-Hosted-Collector).\n * Add an [HTTP Logs and Metrics Source](https://help.sumologic.com/03Send-Data/Sources/02Sources-for-Hosted-Collectors/HTTP-Source). Under Advanced you'll see options regarding timestamps and time zones and when you select Timestamp parsing specify the custom time stamp format as shown below:\n - Format: `yyyy-MM-dd'T'HH:mm:ss.SSS'Z'`\n - Timestamp locator: `\\\"created\\\": (.*),`.\n * Add another HTTP Source this time for metric\n\n3. Method 1 - Configuring the **sumologic-mongodbatlas** collector\n\n Below instructions assume pip is already installed if not then, see the pip [docs](https://pip.pypa.io/en/stable/installing/) on how to download and install pip.\n *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.\n Login to a Linux machine and download and follow the below steps:\n\n * Install the collector using below command\n ``` pip install sumologic-mongodbatlas```\n\n * Create a configuration file named mongodbatlas.yaml in home directory by copying the below snippet.\n\n ```\n SumoLogic:\n HTTP_LOGS_ENDPOINT: \n HTTP_METRICS_ENDPOINT: \n\n MongoDBAtlas:\n ORGANIZATION_ID: Paste the Organization ID from step 1.\n PROJECT_ID: Paste the Project ID from step 1.\n PRIVATE_API_KEY: Paste the Private Key from step 1.\n PUBLIC_API_KEY: Paste the Public Key from step 1.\n ```\n * Create a cron job for running the collector every 5 minutes by using the crontab -e and adding the below line\n\n `*/5 * * * * /usr/bin/python -m sumomongodbatlascollector.main > /dev/null 2>&1`\n\n Method 2 - Collection via an AWS Lambda function\n To install Sumo Logic\u2019s AWS Lambda script, follow the instructions below:\n\n * Go to https://serverlessrepo.aws.amazon.com/applications\nSearch for \u201csumologic-mongodb-atlas\u201d and select the app as shown below:\n\n * When the page for the Sumo app appears as shown below, click the Deploy button as shown below:\n\n\n * In the Configure application parameters panel, shown below:\n\n * HTTPLogsEndpoint: Paste the URL for the HTTP Logs source from step 2.\n * HTTPMetricsEndpoint: Paste the URL for the HTTP Metrics source from step 2.\n * OrganizationID: Paste the Organization ID from step 1.\n * ProjectID: Paste the Project ID from step 1.\n * Private API Key: Paste the Private Key from step 1.\n * Public API Key: Paste the Public Key from step 1.\n * Click Deploy.\n\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/SumoLogic/sumologic-mongodb-atlas", "keywords": "sumologic python rest api log management analytics logreduce mongodb atlas agent security siem collector forwarder", "license": "PSF", "maintainer": "", "maintainer_email": "", "name": "sumologic-mongodb-atlas", "package_url": "https://pypi.org/project/sumologic-mongodb-atlas/", "platform": "", "project_url": "https://pypi.org/project/sumologic-mongodb-atlas/", "project_urls": { "Homepage": "https://github.com/SumoLogic/sumologic-mongodb-atlas" }, "release_url": "https://pypi.org/project/sumologic-mongodb-atlas/1.0.7/", "requires_dist": [ "sumologic-appclient-sdk (>=1.0.0)", "boto3 (>=1.9.66) ; extra == 'aws'", "botocore (>=1.12.66) ; extra == 'aws'", "azure-cosmosdb-table (>=1.0.5) ; extra == 'azure'", "bson (>=0.5.8) ; extra == 'azure'", "google-api-python-client (>=1.7.8) ; extra == 'gcp'", "oauth2client (>=4.1.3) ; extra == 'gcp'", "google-cloud-datastore (>=1.7.3) ; extra == 'gcp'" ], "requires_python": "", "summary": "Sumo Logic collection solution for mongodb atlas", "version": "1.0.7" }, "last_serial": 5912460, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "4f7f72286dc8fdc15905885d9cc5f52e", "sha256": "1d6f7c399e1962a9aa95f605ac2d7e3d53f2516a61af5b16bfe50dd7334cd70a" }, "downloads": -1, "filename": "sumologic_mongodb_atlas-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "4f7f72286dc8fdc15905885d9cc5f52e", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 549620, "upload_time": "2019-06-26T19:17:03", "url": "https://files.pythonhosted.org/packages/86/80/36a75d3dc906c4f52ac8cdd8f5ecefe357d140e2118bfcafefb33055f6d4/sumologic_mongodb_atlas-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "633416e5c5d983ea438792c967f61ef9", "sha256": "64d057a829607f57829b7e2439be95282e8eb4fa902361af7e9456e87bad617a" }, "downloads": -1, "filename": "sumologic-mongodb-atlas-1.0.0.tar.gz", "has_sig": false, "md5_digest": "633416e5c5d983ea438792c967f61ef9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 454951, "upload_time": "2019-06-26T19:17:06", "url": "https://files.pythonhosted.org/packages/e5/ee/a8020adac3d8450a767cc3a276b6690c85ba712cd79a752cd7d13d1110bb/sumologic-mongodb-atlas-1.0.0.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "7ae39b22193c152df637b1d5b1f393d6", "sha256": "ea4d8ba0c36a8ad1a3183a5313b331363dff5765f99855b38d72a31f88d4efdb" }, "downloads": -1, "filename": "sumologic_mongodb_atlas-1.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "7ae39b22193c152df637b1d5b1f393d6", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 16469, "upload_time": "2019-07-13T18:06:02", "url": "https://files.pythonhosted.org/packages/5b/52/aed771da03b44835f6b108a30cd15c0c33e858beff78f7cc530efd819911/sumologic_mongodb_atlas-1.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fee96bdda5474fb8e09e1d1ffe09ea70", "sha256": "75b962b1c44836e4f78d252f3152003df6fbb85a673bd86474e56fe2bc891e18" }, "downloads": -1, "filename": "sumologic-mongodb-atlas-1.0.2.tar.gz", "has_sig": false, "md5_digest": "fee96bdda5474fb8e09e1d1ffe09ea70", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14694, "upload_time": "2019-07-13T18:06:05", "url": "https://files.pythonhosted.org/packages/2a/cd/67b785baacc81d4c649e94d0adc32d64e03eb05d8eb9d5d503f448cfc1eb/sumologic-mongodb-atlas-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "d9c94e1048cc06edbf7f91084604a641", "sha256": "d3ead56a7d2a4be94dda219fccb49a9c26033092426224f66263974fa916fe04" }, "downloads": -1, "filename": "sumologic_mongodb_atlas-1.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "d9c94e1048cc06edbf7f91084604a641", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 16468, "upload_time": "2019-07-13T20:47:34", "url": "https://files.pythonhosted.org/packages/2e/01/4d705ae4e771ecf86c9b7802ee22e9af7238ca849b925a47f06308ca0200/sumologic_mongodb_atlas-1.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7865f0dce84ae62a142b861804f6e411", "sha256": "7c1e7a4e35182a63b3bf04eba094597430ae627756f023009e12c682efdbd59b" }, "downloads": -1, "filename": "sumologic-mongodb-atlas-1.0.3.tar.gz", "has_sig": false, "md5_digest": "7865f0dce84ae62a142b861804f6e411", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14696, "upload_time": "2019-07-13T20:47:38", "url": "https://files.pythonhosted.org/packages/4a/1d/65404b0bac92e0ccb8ef89973aeb8882f8e3c67c361bc93bb4e6a496243a/sumologic-mongodb-atlas-1.0.3.tar.gz" } ], "1.0.4": [ { "comment_text": "", "digests": { "md5": "04d26a0622c0f5296c8bcb8a4a329eb5", "sha256": "6de95adea5c4144db1d0ad2b9a657e8eba382f24ece4801d916e7fe4297f7f8a" }, "downloads": -1, "filename": "sumologic_mongodb_atlas-1.0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "04d26a0622c0f5296c8bcb8a4a329eb5", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 16468, "upload_time": "2019-07-17T08:22:30", "url": "https://files.pythonhosted.org/packages/f8/47/234158670601dfdc88cdb5921c58e9c2173b9d46252679c1df976542c2e5/sumologic_mongodb_atlas-1.0.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0574ebd4d5e1ca8086726197ea462ab1", "sha256": "09a4c35a93b4b8a562374141f0427afdb7c1be2ee0eecdec13e79ed55a3c27b1" }, "downloads": -1, "filename": "sumologic-mongodb-atlas-1.0.4.tar.gz", "has_sig": false, "md5_digest": "0574ebd4d5e1ca8086726197ea462ab1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14681, "upload_time": "2019-07-17T08:22:32", "url": "https://files.pythonhosted.org/packages/73/d5/c0b63c00b966ab2e0f30a5e411c58a15c0add3170f28c05b1c11eab08805/sumologic-mongodb-atlas-1.0.4.tar.gz" } ], "1.0.5": [ { "comment_text": "", "digests": { "md5": "bcef3b4bd51ddae2455ea6162c5116f0", "sha256": "ce0d5b59c4cd993dd0ec150776a039278a0ec57b0395b6f8d3931c007d844375" }, "downloads": -1, "filename": "sumologic_mongodb_atlas-1.0.5-py3-none-any.whl", "has_sig": false, "md5_digest": "bcef3b4bd51ddae2455ea6162c5116f0", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 16582, "upload_time": "2019-08-05T08:02:09", "url": "https://files.pythonhosted.org/packages/06/57/f0275ae22ac76da900151153e69af157516f270a8868e5d603394e2e53ef/sumologic_mongodb_atlas-1.0.5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "aebf9551aad1c7d42e6806d4a9b50040", "sha256": "81e6100e3073ca99e17e5ec9d47a61d198a9864894b5a3d38046707802cd24f5" }, "downloads": -1, "filename": "sumologic-mongodb-atlas-1.0.5.tar.gz", "has_sig": false, "md5_digest": "aebf9551aad1c7d42e6806d4a9b50040", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14798, "upload_time": "2019-08-05T08:02:11", "url": "https://files.pythonhosted.org/packages/d1/68/b7c3ec2aa84c771ccd5744d4cc081d32762131812cbfb5d379bb54441f88/sumologic-mongodb-atlas-1.0.5.tar.gz" } ], "1.0.6": [ { "comment_text": "", "digests": { "md5": "e82581d09b9384541849165d8dbd2da6", "sha256": "0ed877d8f3bbcc9741f9030b8ea99966b9f1ef3e22169a78c468051c8c54e159" }, "downloads": -1, "filename": "sumologic_mongodb_atlas-1.0.6-py3-none-any.whl", "has_sig": false, "md5_digest": "e82581d09b9384541849165d8dbd2da6", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 16553, "upload_time": "2019-08-27T14:00:57", "url": "https://files.pythonhosted.org/packages/01/b0/43a7019eb19052967ce1cb2ebd793feab320572ce74f5bcdb91a935b31f5/sumologic_mongodb_atlas-1.0.6-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "29e19d562aa649c4e621834b199c99db", "sha256": "cdeb6cd7efd6acb2066bbb0443ecbffddf73bcb9c72fc0a4bf5cf04eb9564208" }, "downloads": -1, "filename": "sumologic-mongodb-atlas-1.0.6.tar.gz", "has_sig": false, "md5_digest": "29e19d562aa649c4e621834b199c99db", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14770, "upload_time": "2019-08-27T14:00:59", "url": "https://files.pythonhosted.org/packages/3f/2c/61dae3e42ae7ac76fe964e82021ceb1dd4b0a00057b2fde2cc504064d2c0/sumologic-mongodb-atlas-1.0.6.tar.gz" } ], "1.0.7": [ { "comment_text": "", "digests": { "md5": "af005f75eb8bccda7d026761ba5cbc77", "sha256": "8e3b20332c5081b054c28f4d2c1c10fa47fddf481adb7a53b144a474736f6c80" }, "downloads": -1, "filename": "sumologic_mongodb_atlas-1.0.7-py3-none-any.whl", "has_sig": false, "md5_digest": "af005f75eb8bccda7d026761ba5cbc77", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 16571, "upload_time": "2019-10-01T13:58:48", "url": "https://files.pythonhosted.org/packages/8d/b6/890253815e4ab48f1df2baff2873e1b15d61e7906fa7f85063e7671a3ccf/sumologic_mongodb_atlas-1.0.7-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3e44ea64ed7e8e3bc340cf2a5480b6d6", "sha256": "b2f489f876682c028bcbb8b0fe8cd1da1ac52b75fed3dd4c8ea1b18ceecfc1bf" }, "downloads": -1, "filename": "sumologic-mongodb-atlas-1.0.7.tar.gz", "has_sig": false, "md5_digest": "3e44ea64ed7e8e3bc340cf2a5480b6d6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14729, "upload_time": "2019-10-01T13:58:50", "url": "https://files.pythonhosted.org/packages/07/34/c9882b12e8cd0ceee6d620125d2c0d5a9d8d711153af296374651293d973/sumologic-mongodb-atlas-1.0.7.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "af005f75eb8bccda7d026761ba5cbc77", "sha256": "8e3b20332c5081b054c28f4d2c1c10fa47fddf481adb7a53b144a474736f6c80" }, "downloads": -1, "filename": "sumologic_mongodb_atlas-1.0.7-py3-none-any.whl", "has_sig": false, "md5_digest": "af005f75eb8bccda7d026761ba5cbc77", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 16571, "upload_time": "2019-10-01T13:58:48", "url": "https://files.pythonhosted.org/packages/8d/b6/890253815e4ab48f1df2baff2873e1b15d61e7906fa7f85063e7671a3ccf/sumologic_mongodb_atlas-1.0.7-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3e44ea64ed7e8e3bc340cf2a5480b6d6", "sha256": "b2f489f876682c028bcbb8b0fe8cd1da1ac52b75fed3dd4c8ea1b18ceecfc1bf" }, "downloads": -1, "filename": "sumologic-mongodb-atlas-1.0.7.tar.gz", "has_sig": false, "md5_digest": "3e44ea64ed7e8e3bc340cf2a5480b6d6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14729, "upload_time": "2019-10-01T13:58:50", "url": "https://files.pythonhosted.org/packages/07/34/c9882b12e8cd0ceee6d620125d2c0d5a9d8d711153af296374651293d973/sumologic-mongodb-atlas-1.0.7.tar.gz" } ] }