Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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.

5 answers

2 votes
Joe Clark Atlassian Team Jul 20, 2011

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?

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.


Love to hear how your webtrends test works out.

Hi Betsy

Is it possible to share your sql queries.



This might help:

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 'All Pages',count(*) from CONTENT where CONTENTTYPE ='PAGE';
SELECT 'All Content Attachments', count(*) FROM [dbo].[CONTENT] WHERE CONTENTTYPE = 'ATTACHMENT'; --All Content Attachments

Hope this help!!


Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Confluence

What do you think is the most *delightful* Confluence feature? Comment for a prize!

- Create your own custom emoji 🔥 - "Shake for Feedback" on mobile 📱 - An endless supply of GIFs via GIPHY 🤩 Is there anything quite as nice as a pleasant surprise? Comment below with what...

494 views 24 9
Join discussion

Community Events

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

Events near you