{"id":13343715,"url":"https://github.com/doron050/logdna-for-all","last_synced_at":"2026-01-22T02:31:45.581Z","repository":{"id":36732600,"uuid":"189080037","full_name":"doron050/logdna-for-all","owner":"doron050","description":"Connect your Zeit Now projects with LogDNA","archived":false,"fork":false,"pushed_at":"2022-12-10T17:59:54.000Z","size":14538,"stargazers_count":6,"open_issues_count":10,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-24T16:49:10.192Z","etag":null,"topics":["logdna","logging","monitoring","serverless","zeit","zeit-now"],"latest_commit_sha":null,"homepage":"https://zeit.co/integrations/logdna-for-all","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/doron050.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-05-28T18:14:34.000Z","updated_at":"2020-02-12T10:00:50.000Z","dependencies_parsed_at":"2023-01-17T04:22:42.374Z","dependency_job_id":null,"html_url":"https://github.com/doron050/logdna-for-all","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doron050%2Flogdna-for-all","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doron050%2Flogdna-for-all/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doron050%2Flogdna-for-all/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doron050%2Flogdna-for-all/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/doron050","download_url":"https://codeload.github.com/doron050/logdna-for-all/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243171358,"owners_count":20247876,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["logdna","logging","monitoring","serverless","zeit","zeit-now"],"created_at":"2024-07-29T19:31:57.274Z","updated_at":"2026-01-22T02:31:45.553Z","avatar_url":"https://github.com/doron050.png","language":"JavaScript","funding_links":["https://paypal.me/doron050"],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/doron050/logz-for-all/blob/master/resources/images/logService/on-icon.png\" alt=\"LogDNA Zeit Integration\" width=\"150\"\u003e\u003c/a\u003e\n  \u003cbr\u003e\n  LogDNA ZEIT Integration\n  \u003cbr\u003e\n\u003c/h1\u003e\n\n\u003ch4 align=\"center\"\u003eConnect your ZEIT Now Projects to \u003ca href=\"https://logdna.com/\" target=\"_blank\"\u003eLogDNA\u003c/a\u003e\u003c/h4\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://paypal.me/doron050\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/$-donate-ff69b4.svg?maxAge=2592000\u0026amp;style=flat\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e \n\n\u003ch5 align=\"center\"\u003eSay goodbye to loggers!\u003c/a\u003e\u003c/h5\u003e\n\n\u003cp align=\"center\"\u003e\n  • \u003ca href=\"#Our-Vision\"\u003eOur Vision\u003c/a\u003e \n  • \u003ca href=\"#Key-Features\"\u003eKey Features\u003c/a\u003e\n  • \u003ca href=\"#How-to-Use\"\u003eHow to Use\u003c/a\u003e\n  • \u003ca href=\"#Setup-for-Development\"\u003eDev Setup\u003c/a\u003e\n  • \u003ca href=\"#Support-and-Contact\"\u003eContact\u003c/a\u003e\n  • \u003ca href=\"https://logdna.com/\"\u003eLogDNA\u003c/a\u003e\n  • \u003ca href=\"https://zeit.co\"\u003eZEIT\u003c/a\u003e\n  \n\u003c/p\u003e\n\n\u003e *LogDNA For All* - `be smart`, `take responsibility`.\n\n[![forthebadge](https://forthebadge.com/images/badges/built-with-love.svg)](https://forthebadge.com)\n[![forthebadge](https://forthebadge.com/images/badges/check-it-out.svg)](https://forthebadge.com)\n\n\u003e **We are making our best efforts** to bring you the best logging integrations.\u003cbr/\u003e\n\u003e If you like our integration, you can help us by \u003ca href=\"https://paypal.me/doron050\"\u003edonate and become a backer\u003c/a\u003e.\n\n:fireworks: [Try it out!](https://zeit.co/integrations/logdna-for-all) :fireworks:\n\n## Our Vision\n\u003e Allow **every developer** to **_take responsibility_** over their creation by delivering **_the best integration_**\u003cbr/\u003eto connect their project for _logging:chart_with_upwards_trend: \u0026 monitoring:traffic_light: service.\n\n## Key Features\n\n* Integrate your ZEIT Now project with LogDNA :electric_plug:\n  * Connect team projects :family:\n  * Connect user projects :bowtie:\n* Consistently transfer all your logs to your LogDNA project\n\n#### Screenshot - Integration Configuration:\n![Integration Configuration](https://github.com/doron050/logz-for-all/blob/master/resources/images/logService/configuration.png?raw=true)\n\n#### Screenshot - LogDNA:\n![LogDNA](https://github.com/doron050/logz-for-all/blob/master/resources/images/logService/dashboard.png?raw=true)\n\n## How to Use\n* **Select one of the following:**\n  * **The fastest way** :rocket: - Go [here](https://zeit.co/integrations/logdna-for-all/add)\n  * `Or` Go to [Our integration page](https://zeit.co/integrations/logdna-for-all)\n    * Press `add`\n  * `Or manually` :hand: Go to the [marketplace](https://zeit.co/integrations):\n    * Go to `[logging category](https://zeit.co/integrations?category=logging)` \n      * select our integration `LogDNA`\n* Select which workspaces you want to connect to LogDNA -  `User or teams`\n* Press `add`\n* For each project of your workspaces that you want to connect:\n  * Insert your *LogDNA token* :key: (get it via your project page on [LogDNA](https://logdna.com/)\n  * Press `Connect`\n* Now you are ready to go by yourself. Enjoy! :tada:\n\u003e We hope you have _the great Logging \u0026 Monitoring Experience of your life!_ :rainbow:\n\n## Setup for Development\n\nIn order to contribute you will need the following accounts :bookmark::\n* \u003ca href=\"https://www.zeit.co/\"\u003eZEIT\u003c/a\u003e\n* \u003ca href=\"https://www.mongodb.com/cloud/atlas\"\u003eMongoDB Cloud\u003c/a\u003e\n* \u003ca href=\"https://logdna.com/\"\u003eLogDNA\u003c/a\u003e\n\n#### Get our code ####\n\n```bash \n# Clone this repository\n$ git clone https://github.com/doron050/logdna-for-all.git\n\n# Go into the repository\n$ cd logdna-for-all\n\n# Install dependencies\n$ npm install\n```\n\n#### ZEIT integrations ####\n* Follow the instructions on the \u003ca href=\"https://zeit.co/docs/integrations/\"\u003eZEIT Integrations documentation\u003c/a\u003e to setup your integration\n* On your integration settings page:\n  * Leave the `redirect url` empty\n  * Set the `ui-hook url` to: http://localhost:5005/ui-hooks\n* Go to your integration page and add it to your user/team\n* Add your logDNA token :key:\n\n#### MongoDB cloud ####\n* Register for MongoDB cloud\n* Create your cluster and get the connection details :bookmark_tabs:\n* Make sure you set your `.env` file :pencil2:: \n```diff\n# DB\n+ DB_USER_NAME=[your mongodb cloud user name]\n+ DB_PASSWORD=[your mongodb cloud password]\n+ DB_URL=[your mongodb url]\n+ DB_SCHEME=[your mongodb scheme]\n+ DB_NAME=[your mongodb db name]\n+ DB_COLLECTION_NAME=[your mongodb collection name]\n```\n#### Advanced .env ####\nSpecify what environment you are targeting:\n```diff\n# ENV\n+ ENVIRONMENT=[production / development]\n```\nIf you want to, you can control some of our intervals :clock1::\n```diff\n+ CONSUME_PROJECT_LOG_INTERVAL=[time between reading and sending logs - default is 3000]\n+ SYNC_SUBSCRIBER_WITH_DB_INTERVAL=[time between sync with the metadata inside the db - default is 6000]\n```\nIf you want your integration to send logs to [LogzIO]() you need to configure this setting:\n```diff\n# LOGGER\n+ LOGGER_TOKEN=[LogzIO token]\n```\n\n#### Run the integration ####\n* Run your integration locally using `npm run zeit`\n* Use your browser and go to your integration configuration page :scroll:\n* You should now see the integration configuration page _(it is connected to your localhost)_\n\n_**:warning:notice!**_\n\u003e If you want to debug and change the configuration UI you are good to go!\n\u003e Every configuration you create will be saved inside your database. You use this data in the following background node app.\n\n#### Run your background node app ####\n\n_**:warning:notice!**_\n\u003e Since we cannot use our localhost as the redirect endpoint for the oauth proccess\u003cbr/\u003eyou will miss 2 critical fields on every database document (ZeitToken, teamId) :sweat:\n\nIn order to get over it :muscle:: \n* Upload your app to ZEIT using the `now` command (the `now.json` file is provided for you) :outbox_tray:\n* Set your integrations `redirect url` to `\u003czeit-host-name\u003e/redirect`\n* Set the following `secret`s :closed_lock_with_key:: \n```diff\n# Zeit \n+ INTEGRATION_CLIENT_ID=[Your app auth client id]\n+ INTEGRATION_CLIENT_SECRET=[Your app secret]\n```\n* Now you should follow the \u003ca href=\"#How-to-Use\"\u003eHow to Use\u003c/a\u003e steps in order to use your integration :sweat_smile:\n\n_**Now you can run the background node!**_\n* Use `npm start` in order to start the sync\n\n\u003cbr/\u003e\nHave fun. Keep Coding. :computer:\n\n### Our Team \n------\n\n![LogDNA-For-All Team](https://github.com/doron050/logz-for-all/blob/master/resources/images/team.png?raw=true)\n            \n### Support and Contact\n------\n\n**LogDNA-For-All** © 2019+, DE, MB, NM Released under the [MIT License].\u003cbr\u003e\nAuthored and maintained by DE, MB, NM. with help from contributors.\n\n\n\u003e GitHub [@Niv](https://github.com/nivm1) \u003cbr/\u003e\n\u003e GitHub [@Doron Eli](https://github.com/doron050) \u003cbr/\u003e\n\u003e GitHub [@Moshe Basher](https://github.com/moshebasher) \u003cbr/\u003e\n\u003e Contact us via mail: \u003clogs_for_all@yahoo.com\u003e\n\n[MIT License]: http://mit-license.org/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoron050%2Flogdna-for-all","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdoron050%2Flogdna-for-all","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoron050%2Flogdna-for-all/lists"}