Zum Inhalt springen
Search the hub

← All suppliers

Collab

Confluence

Pages/spaces: content activity — Cloud REST load, PII and knowledge KPIs.

Templates only — grain, filters, custom fields and ownership are firm-specific.

Copy formulas into the KPI Definition Card, then adapt grain and filters.

Example

Pages created

How many pages were created in the period?

COUNT(*) FROM page WHERE created IN period AND status = current
Grain
Page
Fields
Page.created, Page.space_key, Page.status
Dimensions
space, content_type, author_dept

Confluence Cloud REST content?type=page&created…

Adapt: Filter drafts and templates from intake.

Example

Pages updated

How many pages were updated in the period?

COUNT(DISTINCT page_id) FROM version WHERE when IN period
Grain
Page (distinct)
Fields
Version.when, Version.number, Page.space_key
Dimensions
space, content_type, label

Version history or updated timestamp — avoid double counts.

Adapt: Clarify minor vs major edits and bot users.

Active spaces

How many spaces had content activity in the period?

COUNT(DISTINCT space_key) FROM page WHERE updated IN period
Grain
Space
Fields
Page.space_key, Page.updated
Dimensions
space, content_type

Activity = create/update/comment — lock the definition.

Adapt: Exclude personal and archived spaces.

Comments created

How many comments were created?

COUNT(*) FROM comment WHERE created IN period
Grain
Comment
Fields
Comment.created, Comment.id
Dimensions
space, content_type, author_dept

Unify footer and inline comments.

Adapt: Load body only when engagement text is required.

Attachment count

How many attachments (meta) were added?

COUNT(*) FROM attachment_meta WHERE created IN period
Grain
Attachment meta
Fields
Attachment Meta.id, Attachment Meta.mediaType
Dimensions
space, content_type

Metadata only — skip binaries.

Adapt: Count large binaries and external links separately.

Formula overview

Same formulas as a table — copy into KPI cards or SQL drafts.

Label Formula Grain Fields
Pages created COUNT(*) FROM page WHERE created IN period AND status = current Page Page.created, Page.space_key, Page.status
Pages updated COUNT(DISTINCT page_id) FROM version WHERE when IN period Page (distinct) Version.when, Version.number, Page.space_key
Active spaces COUNT(DISTINCT space_key) FROM page WHERE updated IN period Space Page.space_key, Page.updated
Comments created COUNT(*) FROM comment WHERE created IN period Comment Comment.created, Comment.id
Attachment count COUNT(*) FROM attachment_meta WHERE created IN period Attachment meta Attachment Meta.id, Attachment Meta.mediaType

Tour