ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Interpreting Timestamp View Analytics

    Announcements
    2
    4
    1.1k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • scottalanmillerS
      scottalanmiller
      last edited by

      Learning to read and assemble the data coming from NodeBB. Here is what should be the data from last September.

      > db.objects.find({_key:"analytics:pageviews", value: {$gte:"1441065600", $lte:"1443657600"}})
      { "_id" : ObjectId("560c69708fd3bb29fe347029"), "_key" : "analytics:pageviews", "value" : "1443654000000", "score" : 779 }
      { "_id" : ObjectId("560c5b608fd3bb29fe346dc9"), "_key" : "analytics:pageviews", "value" : "1443650400000", "score" : 1139 }
      { "_id" : ObjectId("560c4d508fd3bb29fe346bb4"), "_key" : "analytics:pageviews", "value" : "1443646800000", "score" : 872 }
      { "_id" : ObjectId("560c3f408fd3bb29fe346875"), "_key" : "analytics:pageviews", "value" : "1443643200000", "score" : 984 }
      { "_id" : ObjectId("560c31308fd3bb29fe3464da"), "_key" : "analytics:pageviews", "value" : "1443639600000", "score" : 1365 }
      { "_id" : ObjectId("560c23208fd3bb29fe345ead"), "_key" : "analytics:pageviews", "value" : "1443636000000", "score" : 1270 }
      { "_id" : ObjectId("560c15108fd3bb29fe34573e"), "_key" : "analytics:pageviews", "value" : "1443632400000", "score" : 1403 }
      { "_id" : ObjectId("560c07008fd3bb29fe34506a"), "_key" : "analytics:pageviews", "value" : "1443628800000", "score" : 1293 }
      { "_id" : ObjectId("560bf8f08fd3bb29fe344adc"), "_key" : "analytics:pageviews", "value" : "1443625200000", "score" : 1151 }
      { "_id" : ObjectId("560beae08fd3bb29fe344601"), "_key" : "analytics:pageviews", "value" : "1443621600000", "score" : 1201 }
      { "_id" : ObjectId("560bdcd08fd3bb29fe344381"), "_key" : "analytics:pageviews", "value" : "1443618000000", "score" : 911 }
      { "_id" : ObjectId("560bcec08fd3bb29fe34418a"), "_key" : "analytics:pageviews", "value" : "1443614400000", "score" : 1049 }
      { "_id" : ObjectId("560bc0b08fd3bb29fe343f8a"), "_key" : "analytics:pageviews", "value" : "1443610800000", "score" : 898 }
      { "_id" : ObjectId("560bb2a08fd3bb29fe343f62"), "_key" : "analytics:pageviews", "value" : "1443607200000", "score" : 571 }
      { "_id" : ObjectId("560ba4908fd3bb29fe343f4e"), "_key" : "analytics:pageviews", "value" : "1443603600000", "score" : 550 }
      { "_id" : ObjectId("560b96808fd3bb29fe343f27"), "_key" : "analytics:pageviews", "value" : "1443600000000", "score" : 741 }
      { "_id" : ObjectId("560b88708fd3bb29fe343d6c"), "_key" : "analytics:pageviews", "value" : "1443596400000", "score" : 774 }
      { "_id" : ObjectId("560b7a608fd3bb29fe343d55"), "_key" : "analytics:pageviews", "value" : "1443592800000", "score" : 858 }
      { "_id" : ObjectId("560b6c508fd3bb29fe343cd9"), "_key" : "analytics:pageviews", "value" : "1443589200000", "score" : 682 }
      { "_id" : ObjectId("560b5e408fd3bb29fe343c32"), "_key" : "analytics:pageviews", "value" : "1443585600000", "score" : 822 }
      
      1 Reply Last reply Reply Quote 1
      • scottalanmillerS
        scottalanmiller
        last edited by

        Okay, looks like it is giving us hourly stats. Very handy.

        1 Reply Last reply Reply Quote 0
        • dafyreD
          dafyre
          last edited by

          New plugin?

          1 Reply Last reply Reply Quote 0
          • scottalanmillerS
            scottalanmiller
            last edited by

            No, we are hitting the database directly to pull out the data that we need.

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post