Content of a Confluence space - KPI for documentation practices
Asked by Thao Pham:

Hello,

Our Cie is using Confluence 7.1.2.

Our team has just implemented our Documentation process using Confluence.

I would like to have KPI of how many documented pages we have, how many attached documents we have per page and what are the last update date of these artifacts.

As an example:

* Parent page **A** - last update date
* File **1 in A** - last update date
* File **2 in A** - last update date
* Child **a of A** - last update date
* File **3 in a** - last update date
* Child **b of A** - last update date
* ....
* Parent page **B** - last update date
* ....

We do not have any add-on and our Confluence admin team does not allow us to run SQL.

Is there any solution, by miracle?

Many thanks in advance for your help.


Answers:
author: Matt Reiner [K15t]
body: Another---sort of hacky---option is to use Confluence search to get the numbers you're looking at.

1. Select the space you want numbers for.
2. Select whether you're looking for pages or attachments.
3. Don't enter anything in the search box and click **Search**.

The number of search results tells you how many pages/attachments were found in the space that fit your criteria.  
![Screen Shot 2020-03-11 at 09.36.21.png](https://community.atlassian.com/t5/image/serverpage/image-id/86179iE64F3F741BE616EC/image-size/large?v=v2&px=999 "Screen Shot 2020-03-11 at 09.36.21.png")Also, since your team is working on documentation in Confluence, K15t's guide might be useful to your team: <https://www.k15t.com/rock-the-docs>

comments: author: Thao Pham
body: Thanks for taking time to answer.

Your solution could be a good one however my need is to provide my management automatic dashboard, I can not ask them to do Search and moreover, I need # per folder so that we know how many pages, how many documents produced by each "team"/"project"


author: Prashant Sultania
body: Hello [@Thao Pham](/t5/user/viewprofilepage/user-id/3769644)

Hope, I understood your requirement correctly, if not please let me know.  

In Confluence, there are 2 macros which you can use to fulfil your requirement.   

1) Recent Updated Macro: It will show you the recently updated pages in any space. You can select the space in the macro.

![Recent updated.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/86077i0E875FE20E5809F5/image-size/large?v=v2&px=999 "Recent updated.PNG")  

2) Attachments Macro: It will show you the recently added attachment in any page of the space. It will show you all the attachments.  

<br />

![Attachments.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/86078iA5538B42E863E9E6/image-size/large?v=v2&px=999 "Attachments.PNG")  

Hope this will help you, let me know if does not fulfil your requirement.  

<br />

Thanks  

**Note:** Upvote or Like if it resolves your query.

comments: author: Thao Pham
body: Hello Prashant

I have tried to use 2 macros.

**The Space attachment macro.**

* The result is displayed per page and when I export to Word or Pdf, it shows only the 2 first pages and not the whole list. Is it something related to our Confluence environment or it's a known issue?

**The Recently updated macro**

* Once I have updated my page with the macro, I got this message 'As you and your team create content this area will fill up and display the latest updates' and actually, nothing is displayed.

If you have further advise, then it would be helpful.

Thanks


Tags: confluence-server

server