Logged in Users in Confluence 5.5.3
Asked by Phil Lochner:

How can I determine which users are currently logged into Confluence? We are on 5.5.3 using the MySQL connector.

I don't need to know "when they last logged in" - I need to know who is logged in right now, either browsing the wiki, making edits, etc. I'm planning on rebooting the server a few times during business hours over the next few days and I need to know who I'll be kicking out, before I do it.

We use Confluence as an Intranet in a business with less than 100 people so if someone is still logged in when I want to work on the server, I can call or email them to let them know.

Thanks!


Answers:
author: Nic Brough -Adaptavist-
body: The problem here is that the interface is a web-based one, so it's hard to tell "who is logged on". "last login time" and "last edit" are about the only information you have available.

As an obvious example, I log in, then close my browser to do something else. Confluence gave my browser the pages I asked for, but it has no way of knowing that I've closed the browser. Do I still count as "logged in"?

The only real way you can do this is to keep refreshing the activity widget, or for a more complex (but highly accurate) record, tail the access logs in real time.


author: Elisa [Atlassian]
body: Hi Phil,

You can determine which users are currently logged into Confluence by using User List Macro.

More info: [](https://confluence.atlassian.com/display/CONFEAP/User+List+Macro)<https://confluence.atlassian.com/display/CONFEAP/User+List+Macro>

Cheers!


author: David Hergert _PAYX_
body: I would suggest you install Google Analytics and then use the Active Users view to see how many people (and possibly who if you set it up correctly, although Google Analytics TOS does not allow personally identifiable information to be sent to Google, ie username, but you could send some ID that helps you identify).

<https://support.google.com/analytics/answer/6171863?hl=en>


author: Paula Dasch
body: Hi everyone, there is a feature request for this matter <https://jira.atlassian.com/browse/CONF-34176>


author: Phil Lochner
body: Thanks everyone, got it sorted out. Neither Activity Widget nor the User Macro quite solves the problem 100% for me, but using a combination of those I can get a fairly good idea of who's in the system right now doing something important like editing an article.

comments: author: Elisa [Atlassian]
body: Good to know! :)


author: Elisa [Atlassian]
body: Phil,

You need Administrator permission to enable the display online/offline users filter in the macro.

Also you need to be on the appropriate roles (the right permissions) to see the results.  
Because being an admin does not mean that you can access things but that you have the power to administrate.


author: Phil Lochner
body: Unfortunately, no luck with the User List Macro. The User-lister System plugin is enabled.

All I get is:

No results were found for groups : confluence-users

On the off chance that absolutely nobody is currently using Confluence right now, this should at least show myself as logged in, right?


author: Elisa [Atlassian]
body: Yeah, then I guess Nic's suggestion is more appropriate for you. :)


author: Phil Lochner
body: Ah, excellent points. I'll mess around with the activity widget and the user macro and see if I can get it to do what I want. Sadly the User List Macro requires me to restart Confluence to get the Online users part working, which well, brings me to the question of who's logged in before I restart.. :)


Tags: confluence-administration