I was wondering if anyone has any good suggestions on pulling usage stat's from confluence. Page views per min type stuff. Has to be an internal solution, using Google Analytics is not an option due to security concerns.
The How Do I Get More Statistics from Confluence article has some good suggestions. In our case, i just run a set of SQL queries once a month that give me stats for the previous month, such as # of spaces, attachments, users, count by contenttype, top 10 largest spaces based on content, etc. I've found that some of the metrics-oriented plugins are very performance-intensive.
As we're in the process of adding Webtrends analytics to our Confluence installation, the statistics gathered there may suffice going forward.
If your using MS SQL, here is how you get Confluence Usage via DB.
select 'Total Spaces', count(*) from SPACES -----Total Spaces
select 'Personal Spaces', count(*) from SPACES where [SPACETYPE] ='personal' ---Personal Spaces
select 'Site Spaces',count(*) from SPACES where [SPACETYPE] = 'global' -- Site/global Spaces
SELECT 'Content (All Versions)', count(*) FROM [CONTENT] ---- Content (All Versions)
select 'Content (Current Versions)', count(*) from CONTENT where PREVVER is null; --- Content (Current Versions)
select count(*) from [dbo].[cwd_group] ---Local Groups
select count(*) from [dbo].[cwd_user] ----Local Users
SELECT 'Blogposts',count(*) FROM [CONTENT] WHERE CONTENTTYPE = 'BLOGPOST';
select 'All Pages',count(*) from CONTENT where CONTENTTYPE ='PAGE';
SELECT 'Comments',count(*) FROM CONTENT WHERE CONTENTTYPE = 'COMMENT';
SELECT 'All Content Attachments', count(*) FROM [dbo].[CONTENT] WHERE CONTENTTYPE = 'ATTACHMENT'; --All Content Attachments
Hope this help!!
Thanks everyone for answering last week’s question. The winner of the random drawing from those who commented is: @LarryBrock I’ll contact you separately with your prize details. This wee...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events