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

Devin Stronge February 6, 2012

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

0 votes
Answer accepted
Remo Siegwart
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 6, 2012

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
TAGS
AUG Leaders

Atlassian Community Events