{ "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-gsuitealertcenter\nSolution to pull alerts from G Suite Alert Center to Sumo Logic\n\n\n## Installation\n\nThis collector can be deployed both onprem and on cloud(google cloud functions).\nFor installing the collector as a serverless solution refer these [docs](https://help.sumologic.com/07Sumo-Logic-Apps/06Google/G_Suite/01Collect-Logs-for-G-Suite/02Configure_Collection_for_G_Suite_Alert_Center) \n\n### Deploying the collector on a VM\n\n1. Setup the Alert Center API by referring to the following [docs](https://developers.google.com/admin-sdk/alertcenter/guides/prerequisites). Here while creating key in service account make a note of the location of Service Account JSON file that has been downloaded in your computer you will need it later.\n\n2. Add a Hosted Collector and HTTP 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: `\\\"createTime\\\": (.*),`.\n\n3. Configuring the **sumologic-gsuitealertcenter** 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-gsuitealertcenter* 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-gsuitealertcenter```\n\n * Create a configuration file named gsuitealertcenter.yaml in home directory by copying the below snippet.\n Add the SUMO_ENDPOINT, CREDENTIALS_FILEPATH(downloaded in step 1) and DELEGATED_EMAIL parameters obtained from step 1 and step 2 and save it.\n\n ```\n SumoLogic:\n SUMO_ENDPOINT: \n\n GsuiteAlertCenter:\n DELEGATED_EMAIL: \"\"\n CREDENTIALS_FILEPATH: \"\"\n\n Collection:\n ENVIRONMENT: onprem\n\n ```\n * Create a cron job for running the collector every 5 minutes by using the crontab -e and adding the below line\n `*/5 * * * * /usr/bin/python -m sumogsuitealertscollector.main > /dev/null 2>&1`\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-gsuitealertcenter", "keywords": "sumologic python rest api log management analytics logreduce g suite agent security siem collector forwarder", "license": "PSF", "maintainer": "", "maintainer_email": "", "name": "sumologic-gsuitealertcenter", "package_url": "https://pypi.org/project/sumologic-gsuitealertcenter/", "platform": "", "project_url": "https://pypi.org/project/sumologic-gsuitealertcenter/", "project_urls": { "Homepage": "https://github.com/SumoLogic/sumologic-gsuitealertcenter" }, "release_url": "https://pypi.org/project/sumologic-gsuitealertcenter/1.0.5/", "requires_dist": [ "requests (==2.21.0)", "PyYAML (==5.1)", "future-fstrings (==0.4.5)", "futures (==3.1.1)", "six (==1.12.0)", "google-api-python-client (==1.7.8)", "oauth2client (==4.1.3)", "google-cloud-datastore (==1.7.3)", "futures ; python_version < \"3.2\"", "future-fstrings ; python_version < \"3.6\"" ], "requires_python": "", "summary": "Sumo Logic collection solution for G Suite Alert Center", "version": "1.0.5" }, "last_serial": 5505421, "releases": { "1.0.3": [ { "comment_text": "", "digests": { "md5": "baeb2720865219175cc3427e416a267b", "sha256": "cecb57688cebe427f99bfdabfb79707f20a1f6886eabf417f95afb0705d3efdc" }, "downloads": -1, "filename": "sumologic_gsuitealertcenter-1.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "baeb2720865219175cc3427e416a267b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 23252, "upload_time": "2019-04-05T13:08:40", "url": "https://files.pythonhosted.org/packages/70/02/b54e75e5fef94ffd657ce3ae70d9470ab529d7f5cab59f81c0504b61cd64/sumologic_gsuitealertcenter-1.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "12f6c969bb1ed6506a756f60939f0084", "sha256": "c3abf866b6f5c50e96faa66f26fecbb5aaa01a56656724b6272b947ffd4719ca" }, "downloads": -1, "filename": "sumologic-gsuitealertcenter-1.0.3.tar.gz", "has_sig": false, "md5_digest": "12f6c969bb1ed6506a756f60939f0084", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17681, "upload_time": "2019-04-05T13:08:42", "url": "https://files.pythonhosted.org/packages/c6/81/74b55fcf2fdb769a0cfcabc102fb5566fa1445bd4df5faf1b0f9dcb9dc8b/sumologic-gsuitealertcenter-1.0.3.tar.gz" } ], "1.0.4": [ { "comment_text": "", "digests": { "md5": "7cde183911103ad55cda11f9d6b25f8e", "sha256": "26b523b9e2fbeed9b9b682e1c72ab335598f9353f1ae595328db2355a832fcc4" }, "downloads": -1, "filename": "sumologic_gsuitealertcenter-1.0.4-py2-none-any.whl", "has_sig": false, "md5_digest": "7cde183911103ad55cda11f9d6b25f8e", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 27824, "upload_time": "2019-04-18T02:12:47", "url": "https://files.pythonhosted.org/packages/ea/5b/a3d539fc251b94f0027ae405eb2dfa3fdaacf0fd5f93a37b0695bf259337/sumologic_gsuitealertcenter-1.0.4-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "61b0833a9c9f1e567db39ffa22db8174", "sha256": "a3cad93a965de10814f3bb414bd055329d9cab7034362d507bb85b1b149a96fd" }, "downloads": -1, "filename": "sumologic-gsuitealertcenter-1.0.4.tar.gz", "has_sig": false, "md5_digest": "61b0833a9c9f1e567db39ffa22db8174", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19729, "upload_time": "2019-04-18T02:12:50", "url": "https://files.pythonhosted.org/packages/3d/a8/20bf3d0b24a45fb0db429689926e11696c60f34ffa9ce869dcaab75eaf0e/sumologic-gsuitealertcenter-1.0.4.tar.gz" } ], "1.0.5": [ { "comment_text": "", "digests": { "md5": "e65684c2661936288d8e76f0dce12d5a", "sha256": "51c77e11b1f82f6c9f5d293ac6e22557bb42b9d7a587c9760221f075924e6e36" }, "downloads": -1, "filename": "sumologic_gsuitealertcenter-1.0.5-py3-none-any.whl", "has_sig": false, "md5_digest": "e65684c2661936288d8e76f0dce12d5a", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 27797, "upload_time": "2019-06-28T10:06:06", "url": "https://files.pythonhosted.org/packages/db/fe/c88507cc484daf4337d8b058faa3ea719932e455c9a9e955ec155285c639/sumologic_gsuitealertcenter-1.0.5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ac7cba18753632f299a1501bf1f34420", "sha256": "5a2577129d3460eaebd485905c45c2aaa2bd4c52b697d991799e2a18edca3f49" }, "downloads": -1, "filename": "sumologic-gsuitealertcenter-1.0.5.tar.gz", "has_sig": false, "md5_digest": "ac7cba18753632f299a1501bf1f34420", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20152, "upload_time": "2019-06-28T10:06:08", "url": "https://files.pythonhosted.org/packages/8f/77/884f869a8916c615c94d0f81804198f5aeab4943baacac891f67833f5056/sumologic-gsuitealertcenter-1.0.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e65684c2661936288d8e76f0dce12d5a", "sha256": "51c77e11b1f82f6c9f5d293ac6e22557bb42b9d7a587c9760221f075924e6e36" }, "downloads": -1, "filename": "sumologic_gsuitealertcenter-1.0.5-py3-none-any.whl", "has_sig": false, "md5_digest": "e65684c2661936288d8e76f0dce12d5a", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 27797, "upload_time": "2019-06-28T10:06:06", "url": "https://files.pythonhosted.org/packages/db/fe/c88507cc484daf4337d8b058faa3ea719932e455c9a9e955ec155285c639/sumologic_gsuitealertcenter-1.0.5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ac7cba18753632f299a1501bf1f34420", "sha256": "5a2577129d3460eaebd485905c45c2aaa2bd4c52b697d991799e2a18edca3f49" }, "downloads": -1, "filename": "sumologic-gsuitealertcenter-1.0.5.tar.gz", "has_sig": false, "md5_digest": "ac7cba18753632f299a1501bf1f34420", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20152, "upload_time": "2019-06-28T10:06:08", "url": "https://files.pythonhosted.org/packages/8f/77/884f869a8916c615c94d0f81804198f5aeab4943baacac891f67833f5056/sumologic-gsuitealertcenter-1.0.5.tar.gz" } ] }