Currently logged in users

Is it possible to find a list of the currently logged in users? I've seen some SQL that use the cwd_user_attributes table - but this seems to return bad data (it shows users as having logged in today when I know they have never logged in)

I've also seen a suggestion of using the atlassian-jira-user-logging.log, but this is also time consuming.

I mostly want this to see how active the system is at certain times of the day, and also so I can find the optimum time to do restarts and reindexes etc.

4 answers

1 accepted

Did you try to see user sessions feature on JIRA Admin tab.

It is not unique users but tell you how many sessions are active and which user has logged into those sessions.

This is helpful, but it doesn't allow me to sort by date to determine who is currently logged in (or even just most recently). I still have to go dig through the pages. Thanks for the suggestion though.

I, too, want to know the best time for maintenance. I haven't found any reference to atlassian-jira-user-logging.log. I'm using splunk so this may be a workable solultion for me. Can you point me to where you saw this referenced? And if you have any other solutions I'd love to hear them. THanks.

Sorry - it's been so long since I wrote this that I have no idea where I was looking when I saw the user logging reference.

I enabled logging of http events. (https://confluence.atlassian.com/display/JIRA061/Logging+and+Profiling) If you have splunk, extracting activity from atlassian-jira-http-access.log is very straightforward. Even without splunk, it can't be that difficult. If your http access drops to nothing, then you have your answer.


At least that's my current plan to answer the same question you have re. maintenance windows.

Hope this helps.

Again, this issue appears to have no clear solution built-in to JIRA. The answer to this question (as with many others) appears to be: BYOF (Bring Your Own Fix)

@Rahulmentions that you could look at the user sessions, but this doesn't help you identify which users have simply left work for the day with the browser window open on your JIRA instance.

The best way I've found to be sure of activity is to look at the access_log file (which may be what @DI2E was hinting at) , because it will show the individual requests and their time. This makes it possible to see how many people are actually active in the system.

Greetings,

 

It's been 4 years since this post, and several full revisions later. I have the same question, and it is a security issue to have to log into the server every time I need to check current user count. Has anyone provided a web interface solution to this question ?

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,042 views 13 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot