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.
There is the Usage Tracking Plugin, but it can cause some performance problems on large instances and can quickly blow out the size of the lucene index, so I'd recommend trialling it before going the whole hog with it.
What about using the Webtrends Analytics Connector?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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,
VJ
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Betsy
Is it possible to share your sql queries.
Thanks
Abe
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This might help: https://answers.atlassian.com/questions/70444/how-to-get-confluence-stats/70485
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
BetsyW,
Love to hear how your webtrends test works out.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.