Confluence Snippet: User Activity Report
by David. Average Reading Time: less than a minute.
Want to know who are the most active users on your Confluence wiki this week?
This wiki markup snippet should help. It tabulates:
- Overall activity
- Page creations
- Page Updates
- Page views
- Page Popularity
h1. This Week's Wiki User Activity Charts</code>
h2. Overall
{topusers:spaces=@all|timespan=1w|period=weekly|events=create,update,view|display=icon,title,count}
h2. Breakdown
<code>
|| Page Creation || Page Updates || Page Views || Page Popularity ||
| {topusers:spaces=@all|timespan=1w|period=weekly|events=create|display=icon,title,count} | {topusers:spaces=@all|timespan=1w|period=weekly|events=update|display=icon,title,count} | {topusers:spaces=@all|timespan=1w|period=weekly|events=view|display=icon,title,count} | {popular:spaces=@all|timespan=1w|period=weekly|events=view|display=icon,title,count} |
Results
Here’s a screenshot of the resulting page – complete with made up names.
Please note: Building this page can be rather resource intensive as it queries pretty much the whole database to generate the statistics shown!
Related


Nice post David!
However, as you mentioned, this macro is contained in the Confluence Usage Tracking Plugin and is not suitable for large or clustered installations.
We are looking at extending the Statistical Analysis Plugin to include such functionality as the {topusers} macro. This plugin is much less invasive to the operation of Confluence – the use of intelligent caching provides very efficient data reporting.
Keith: That looks interesting. Thanks for linking through
It would be neat to cache this data – my Confluence administrator would be a lot happier. Please let me know when you get it done.
[...] Confluence Snippet: User Activity Report « David Simpson Want to know who are the most active users on your Confluence wiki this week? This wiki markup snippet should help. It tabulates: Overall activity, Page creations, Page Updates, Page views, Page Popularity (tags: confluence macro) [...]