Does the usage plugin create / catalogue the user activity it reports on? Or does it access pre-existing user data?

We want to run a script we wrote using the usage plugin and the reporting plugin to create a list of spaces that have not been viewed in a year. The usage plugin has not been enabled on our system for a long time (much longer than a year) because of the performance issues. However, we were hoping to move a copy of our production data onto our test server, enable the usage plugin there, and then the script. Will the only user activity be activity post-enabling the usage plugin?

Thank you.

1 answer

1 accepted

As far as I know, the Usage Stats plugin stores the usage data in its own Lucene index. The index is located in:

{confluence-data-directory}/index/plugin/usage

So if you want to keep your old usage data, you could try to copy the index manually to the new location. Otherwise you would start with a clean usage index.

Hope this helps

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

355 views 20 10
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