Confluence Usage Stats - Which table?

Anyone out there happen to know which table the Confluence Usage Stats plugin stores it's data? I'd like to access this via the SQL macro so I can slice and dice the data a few ways.

3 answers

This widget could not be displayed.

First place I'd check is the bandana table. Lots of macros seem to store their data in there. In your SQL, use all caps ("BANDANA") for the table name.

This widget could not be displayed.

Hi, in BONDANA:

SELECT TOP 1000 [BANDANAID]
,[BANDANACONTEXT]
,[BANDANAKEY]
,[BANDANAVALUE]
FROM [Confluence].[dbo].[BANDANA] 
where [BANDANAKEY]like 'plugin.manager.state.Map'

But the code in table like this:

<map>
  <entry>
    <string>confluence.macros.html:html-migration</string>
    <boolean>true</boolean>
  </entry>
  <entry>
    <string>tac.confluence.languages.fr_FR</string>
    <boolean>false</boolean>
  </entry>
  <entry>
    <string>confluence.macros.html:html-xhtml</string>
    <boolean>true</boolean>
  </entry>
  <entry>
    <string>tac.confluence.languages.es_ES</string>
    <boolean>false</boolean>
  </entry>
  <entry>
    <string>tac.confluence.languages.ja_JP</string>
    <boolean>false</boolean>
  </entry>
  <entry>
    <string>com.adaptavist.plm.plugin.plm-plugin</string>
    <boolean>false</boolean>
  </entry>
  <entry>
    <string>confluence.macros.html:html-include</string>
    <boolean>true</boolean>
  </entry>
  <entry>
    <string>tac.confluence.languages.de_DE</string>
    <boolean>false</boolean>
  </entry>
  <entry>
    <string>confluence.macros.html:html</string>
    <boolean>true</boolean>
  </entry>
  <entry>
    <string>com.atlassian.confluence.plugins.confluence-mobile</string>
    <boolean>false</boolean>
  </entry>
  <entry>
    <string>com.atlassian.confluence.ext.usage</string>
    <boolean>true</boolean>
  </entry>
  <entry>
    <string>confluence.macros.html:html-include-xhtml</string>
    <boolean>true</boolean>
  </entry>
</map>

 

 

This widget could not be displayed.

It doesn't use the database, it uses Lucene to store the data.

Suggest an answer

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

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

133 views 1 4
Join discussion

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