Hi,
Could anyone please help me on this? We are trying to get data on how much Confluence is used by one of our clients.
Thanks,
Doods
Hi Boris - I did not find anything to help my case from the "cwd_user_attribute" table. The investigation led me to the "logininfo" and "cwd_user" tables. With these I am able to list the names of users who logged in to Confluence for the last 30 days.
I however discovered that Confluence does not keep in the database a history of user logins (somebody correct me here please). It just has two columns, "successdate" and "prevsuccessdate". When a user logs-in the next date, it updates these 2 columns accordingly.
This brings me to trying the "user logging" information. Could anybody please show me how to extract data from the log file using Bob Swift's SQL Plugin, or by creating a new User Macro?
Thanks again.
Doods
Hey Doods,
You can not get a historical account from within Confluence. There are 2 alternative methods:
1. You can enable user access logging per the directions here: https://confluence.atlassian.com/display/CONFKB/How+to+Enable+User+Access+Logging and then parse the resulting logs
2. Record when someone last authenticated regularly, then parse that data. You can modify the query:
select user_id from cwd_user_attribute where attribute_name = 'lastAuthenticated';
to pull more info from the cwd_user_attribute table (in this case you will also need the date).
Cheers,
Boris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This does not work if you use other user directories, it works only with local ones. Seems to be a bug.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.