Skip to main content

This content has been archived and is no longer being updated.

Links may not function; however, this content may be relevant to outdated versions of the product.

How to count logged in users with the pr4_log_usage table

Suggest edit Updated on September 20, 2019


A developer asks:

How can I programmatically count the number of logged in users on a single node and across all nodes that comprise my system?



Suggested Approach

Information about logged in users, including how long and often they're logged in, is written to database table pr4_log_usage.  The data you seek can be gleaned from querying the table, whose columns are fully exposed. 

To prevent excessively long query times against the very large pr4_log_usage table, make sure to include date/time selection criteria in your query.


Pega Platform 7.1.1 - 7.4 Reporting Financial Services Healthcare Insurance Media and Advertising Government Life Sciences Utilities Hospitality and Entertainment Manufacturing Retail
Did you find this content helpful? YesNo

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Ready to crush complexity?

Experience the benefits of Pega Community when you log in.

We'd prefer it if you saw us at our best. is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us