{"id":25456051,"url":"https://github.com/fujio-turner/sg-log-reader-demo","last_synced_at":"2025-11-02T09:30:36.256Z","repository":{"id":205707087,"uuid":"100666191","full_name":"Fujio-Turner/sg-log-reader-demo","owner":"Fujio-Turner","description":"Parsing and Aggregating Sync Gateway Logs","archived":false,"fork":false,"pushed_at":"2024-08-23T05:51:34.000Z","size":29102,"stargazers_count":5,"open_issues_count":15,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-08-23T06:50:12.216Z","etag":null,"topics":["couchbase","couchbase-mobile","couchbase-sync-gateway","sync-gateway"],"latest_commit_sha":null,"homepage":"https://fujio-turner.github.io/sg-log-reader-demo/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Fujio-Turner.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-08-18T02:50:09.000Z","updated_at":"2024-08-23T05:51:39.000Z","dependencies_parsed_at":"2023-11-14T23:24:16.984Z","dependency_job_id":"45a60955-8d59-4aea-8c5a-2474f998c352","html_url":"https://github.com/Fujio-Turner/sg-log-reader-demo","commit_stats":null,"previous_names":["fujio-turner/sg-log-reader-demo"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fujio-Turner%2Fsg-log-reader-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fujio-Turner%2Fsg-log-reader-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fujio-Turner%2Fsg-log-reader-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fujio-Turner%2Fsg-log-reader-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Fujio-Turner","download_url":"https://codeload.github.com/Fujio-Turner/sg-log-reader-demo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239389508,"owners_count":19630312,"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":["couchbase","couchbase-mobile","couchbase-sync-gateway","sync-gateway"],"created_at":"2025-02-18T01:17:39.474Z","updated_at":"2025-11-02T09:30:36.209Z","avatar_url":"https://github.com/Fujio-Turner.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SG Log Reader Demo\nVersion 2.0\n\n![Dashboard](img/sg-log-reader-2.0.png)\n\n## Why\n\nCouchbase Mobile 2.x and greater now communicates via WebSockets.\n\nThis means it easier to track a mobile user's replication to see \u003ci\u003e\"Why is sync is slow?\"\u003c/i\u003e or \u003ci\u003e\"Why is it not syncing?\"\u003c/i\u003e. \n\n## What\nThe sg-log-reader tool takes your SG log file and parses them to:\n\n* Aggregate\n\n* Count \n\n* Sum\n\n* and More \n\nIt takes the above information and puts it into a Couchbase Server bucket to query for a built-in web dashboard (ABOVE IMAGE).\n\n## How\n\n#### Process\nYou just need to:\n\n 1. Pick a `sg_info.log` for the python script to process.\n 2. Have access to a CB Cluster for the script to insert data into.\n 3. Go to (`http://127.0.0.1:8080`) to checkout the Dashboard above.\n \n#### Result\n It will:\n  - Output all the Sync Gateway's databases\n  - Output a list of names of all device users.\n  - Output a graph of all the synced that happen from the: Begin \u0026 DateTime you picked.\n  - You can pick a specific user to drill down to.\n    - pick a specific sync(s) for a specific user.\n\n\n###### Click below to get started: \n### [Docs - SG Log Reader Demo](https://fujio-turner.github.io/sg-log-reader-demo/)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffujio-turner%2Fsg-log-reader-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffujio-turner%2Fsg-log-reader-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffujio-turner%2Fsg-log-reader-demo/lists"}