Skip to content

Instantly share code, notes, and snippets.

@muehlburger
Created June 23, 2011 09:44
Show Gist options
  • Save muehlburger/1042258 to your computer and use it in GitHub Desktop.
Save muehlburger/1042258 to your computer and use it in GitHub Desktop.
> db.shorties.find()
{ "_id" : "fyXu", "clickCount" : 2, "createdAt" : ISODate("2011-06-23T09:10:38.456Z"), "url" : "http://www.tugraz.at", "visitors" : [
{
"_id" : ObjectId("4e03030e25f59ace05000001"),
"httpUserAgent" : "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_7) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.100 Safari/534.30",
"remoteAddr" : "127.0.0.1",
"remotePort" : 56814,
"requestMethod" : "GET",
"requestTime" : ISODate("2011-06-23T09:10:38Z")
},
{
"_id" : ObjectId("4e03036725f59aef05000001"),
"httpUserAgent" : "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_7) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.100 Safari/534.30",
"remoteAddr" : "127.0.0.1",
"remotePort" : 56865,
"requestMethod" : "GET",
"requestTime" : ISODate("2011-06-23T09:12:07Z")
}
] }
{ "_id" : "u2pd", "clickCount" : 2, "createdAt" : ISODate("2011-06-23T09:33:39.285Z"), "url" : "http://blog.muehlburger.at/test", "visitors" : [
{
"_id" : ObjectId("4e03087325f59adc08000000"),
"httpUserAgent" : "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_7) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.100 Safari/534.30",
"remoteAddr" : "127.0.0.1",
"remotePort" : 57170,
"requestMethod" : "GET",
"requestTime" : ISODate("2011-06-23T09:33:39Z")
},
{
"_id" : ObjectId("4e03087625f59ad008000000"),
"httpUserAgent" : "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_7) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.100 Safari/534.30",
"remoteAddr" : "127.0.0.1",
"remotePort" : 57172,
"requestMethod" : "GET",
"requestTime" : ISODate("2011-06-23T09:33:42Z")
}
] }
{ "_id" : "8r7J", "clickCount" : 1, "createdAt" : ISODate("2011-06-23T09:38:47.289Z"), "url" : "http://www.qrcx.dat/app_dev.php", "visitors" : [
{
"_id" : ObjectId("4e0309a725f59adc08000001"),
"httpUserAgent" : "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_7) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.100 Safari/534.30",
"remoteAddr" : "127.0.0.1",
"remotePort" : 57291,
"requestMethod" : "GET",
"requestTime" : ISODate("2011-06-23T09:38:47Z")
}
] }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment