Select to view content in your preferred language

Incorrect ArcGIS Monitor Data Expression Results for Portal's Total user count & Active user count

313
5
Jump to solution
4 weeks ago
PrathameshDa
New Contributor

We're encountering an issue with data expressions in ArcGIS Monitor. When calculating the total number of users and active users within our portal, we're receiving inaccurate results.

Here's a breakdown of the issue:

  • Data Expression: We're using a data expression to determine the total number of users. This expression includes:

    • Type: Portal for ArcGIS
    • Identifier: user_total
  • Second Data Expression: Another data expression is used to find the total number of active users. This expression utilizes:

    • Type: Portal for ArcGIS
    • Identifier: user_total:active

Unexpected Results:

  • The user count retrieved from both expressions appears incorrect.
  • The active user count is higher than the total user count, which is illogical.

However, data expressions for portal items, maps, and layers function as expected and return accurate counts.

Additional Information:

For your reference, I've attached screenshots that further illustrate the issue.

We would greatly appreciate your assistance in troubleshooting this discrepancy and ensuring the data expressions provide accurate user counts for both total and active users within the portal.

Thank you for your time and support.image (7).png

0 Kudos
1 Solution

Accepted Solutions
PrathameshDa
New Contributor

By adding additional data expression issue has been resolved

View solution in original post

0 Kudos
5 Replies
DavidColey
Frequent Contributor

Hello @PrathameshDa 

You may need to set up an additional metrics join to report the number of users within the past hour or so.  This is what I use:

 

DavidColey_1-1718827721599.png

 

Look for @DerekLaw 's posts here in this space.  He has put up some expressions to help get counts like this for various analysis components....

ChrisBerryman
New Contributor III

I use this same expression, and we get much higher active users than there should be.  

0 Kudos
DerekLaw
Esri Esteemed Contributor

Hi @ChrisBerryman,

FYI, the number of active users metric shows the number of portal members who have logged into the Enterprise portal in the last 30 days.

How are you determining the "expected" number of active users in the last 30 days?

0 Kudos
DerekLaw
Esri Esteemed Contributor

Hi @PrathameshDa,

When calculating the total number of users and active users within our portal, we're receiving inaccurate results. 

  • The user count retrieved from both expressions appears incorrect.
  • The active user count is higher than the total user count, which is illogical.


Can you please post screenshots of the data expressions you've configured to get the results shown?

0 Kudos
PrathameshDa
New Contributor

By adding additional data expression issue has been resolved

0 Kudos