Fujio-Turner / sg-log-reader-demo

Parsing and Aggregating Sync Gateway Logs
https://fujio-turner.github.io/sg-log-reader-demo/
Apache License 2.0
5 stars 1 forks source link
couchbase couchbase-mobile sync-gateway

SG Log Reader Demo

Version 2.0

Dashboard

Why

Couchbase Mobile 2.x and greater now communicates via WebSockets.

This means it easier to track a mobile user's replication to see "Why is sync is slow?" or "Why is it not syncing?".

What

The sg-log-reader tool takes your SG log file and parses them to:

It takes the above information and puts it into a Couchbase Server bucket to query for a built-in web dashboard (ABOVE IMAGE).

How

Process

You just need to:

  1. Pick a sg_info.log for the python script to process.
  2. Have access to a CB Cluster for the script to insert data into.
  3. Go to (http://127.0.0.1:8080) to checkout the Dashboard above.

Result

It will:

Click below to get started:

Docs - SG Log Reader Demo