What are smart / handy things to log /statistics for a social networking site?
Things i came up with:
- user logins (timestamp + user id)
- failed user logins (timestamp + user id)
- number of messages/user (timestamp + userid
- table of active users (timestamp + user id)
- time user spent on page (delta timestamp + userid + pageid
- table of users page views (user/page pair)
Things I missed?
Considering i’m using Cassandra (=nosql) what would be the fastest and most scalable way?
Im thinking of adding the login attempts to the user keyspace and creating an logging keyspace for time on page etc.
Is there something like an opensource version of google analytics written in php? If I expand that with the data mentioned above + this (demo@bottom here) = killer app
It might be a good thing to log
log_typeLike DEBUG, INFO, ERROR, etc