For Confluence Cloud, how do I find the total number of pages?

We are using the on demand solution for Confluence, and I would like to have some basic statistics about our instance:

 

  • total number of users
  • number of spaces
  • total number of pages
  • "active" users
  • etc.

 

2 answers

Hi Jason,

Number of users information can be gathered from the User Management section. Application Access will show how many users are activated for the instance and the time of last login will help you determine which ones haven't been active.

Number of Spaces can be estimated from the Space directory but there is no statistics enabled for Cloud administrators at the moment. Number of Pages (content) is also restricted to System Administrators at the moment.

We could create a Feature Request at jira.atlassian.com asking for this statistics to be added to an admin section. Please let us know how you use this information so we can provide some context and if more people are in the same situation, it can be worked addressed.

For the moment, feel free to request that information to the OnDemand Team at support.atlassian.com that will be happy to provide it to you. smile

Cheers!

I would definitely vote on a feature request regarding statistics in ondemand admin :)

i'm using Confluence Cloud annual subscription and If i have to increase the number of users in between. Is it possible ??

0 vote

Hi Jason,

Confluence Cloud REST API would work for you.

For example, you can retrieve some stats as below.

A_USER="admin"
A_PASSWD="__YOUR_PASSWORD_HERE__"
INSTANCE_HOST="__YOUR_SUBDOMAIN_HERE__.atlassian.net"

# Total number of pages
curl -sGLu ${A_USER}:${A_PASSWD} "https://${INSTANCE_HOST}/wiki/rest/api/search" --data-urlencode 'cql=type IN (blogpost, page)' --data-urlencode 'limit=0' | jq '.totalSize'
 
# Total number of users
curl -sLu ${A_USER}:${A_PASSWD} "https://${INSTANCE_HOST}/wiki/rest/api/group/confluence-users/member?limit=1000" | jq '.size'
 
# Number of spaces (Assumed to be less than 1000)
curl -sLu ${A_USER}:${A_PASSWD} "https://${INSTANCE_HOST}/wiki/rest/api/space?limit=1000" | jq '.size'

Note: See https://stedolan.github.io/jq/ to know what is jq (it's totally optional to query the REST API).


Cheers!

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Confluence

Three common content challenges + how to manage them

An efficient enterprise content management system, or ECM, is a must-have for companies that create work online (cough   cough, all companies). If content calendars, marketing plans, and bu...

88 views 0 6
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you