I would like to get the number of unique users of monitored application by API?
I have made a USQL:
SELECT count(DISTINCT ip) FROM usersession WHERE userType IS "REAL_USER" AND newUser = true
but unfortunately the option with IP address as unique element is not supported to create custom metrics (and it makes sense).
Does anyone have any ideas?