bketelsen/skynet — pull request #173 by elimisteve (2012-11-01 21:58:19+00:00)
Title: Fixed real-time dashboard viewing of MongoDB logs

To see for yourself...

1. Run `doozerd`
2. `cd` into the `skynet/cmd/dashboard` directory, then run `go run dashboard.go -mgoserver localhost -d true` (his assumes you're running MongoDB locally)
3. Visit in Google Chrome
4. Choose a Mongo collection to view logs within that collection
5. If you get an error saying you selected an uncapped collection, run the following in the Mongo shell: `db.runCommand({"convertToCapped": "!!COLLECTION_NAME_HERE!!", size: 100000});`
6. Enter a regular expression that matches the logs you want to see, such as `.+`
7. Get MongoDB to log data into the collection you named above
8. See the new log data flow into Chrome (yay!)