By michelle on
I'd like to see a summary of the logs with just the IP, user name (if logged in), and date, grouped by date and sorted by date descending. Before I go delving into the database, I thought I'd see if anyone has done anything like this already. Just a PHP snippit would be fine. I don't need a whole fancy module.
Thanks,
Michelle
Comments
I haven't seen anything
I haven't seen anything specific to your question, but you might want to look at Bèr Kessels XStatistics module as a starting point. It might have much of the framework already so all you would need would be the specific queries.
-sp
---------
Test site, always start with a test site.
Drupal Best Practices Guide -|- Black Mountain
-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide
If you explain this very detailed
And file that as as feature issue to xstatistics I will certainly add it, if its any good. Please add a mockup of how you think it should be, since I really cannot understand your ideas, the way you word them here.
Bèr
---
Professional | Personal
| Sympal: Development and Hosting
Example
I am looking for a summary of the log files. Something like:
I just want to be able to tell at a glance who's using the site instead of going thru tons of individual page hits.
Thanks,
Michelle
Solution
I did a little research and figured it out. Just in case someone comes along someday wanting to know the same thing, here's the SQL:
Michelle
In a Page
I made the query into a page. I don't know if this is the best way of doing it and it's nothing fancy, but it works.
Michelle