How to show users that have been online in the last 24 or 48 hours?


Hello everyone,

Is is possible to generate a list of users that have been online in the last 24 or 48 hours in Rocket.Chat?

We have a large amount of Rocket.Chat users and they log in / out all day and night since our company operates 24 hours a day during the week. For licensing reasons, we want to make sure we are purchasing enough Rocket.Chat licenses to cover everyone that uses the software. Right now we are running the free version of Rocket.Chat so basically anyone in the company can login and use the software (400+ people), but we will be changing over to a paid version very shortly here.

Server Setup Information

  • Version of Rocket.Chat Server: 2.4.11
  • Operating System: Linux 4.19.76-linuxkit
  • Deployment Method:
  • Number of Running Instances: 1
  • DB Replicaset Oplog: Enabled
  • NodeJS Version: v8.17.0
  • MongoDB Version: 3.6.14
  • Proxy:
  • Firewalls involved:

Any additional Information

I tried to include all the specs on our Rocket.Chat installation but I was unable to locate all the info, sorry about that.

Bump, hoping someone can help with the above question. Thank you in advance