A user asked about running a report in ControlUp to show how many users logged on simply to use a browser or simple app that requires little resources, using the App Statistics report. Another user suggested using the API to gather session activity and app usage data, and offered to provide examples at a later date. The original user thanked the user and tagged a member of their team.
Read the entire ‘How to Generate Usage Reports in ControlUp’ thread below:
Greetings community. I’m new to ControlUp and am trying to run a report on our AVD environment to show me what apps (unpublished) were used in how many sessions over a time period; a year ideally, but a month would do. The goal is to help us determine what the percentage of sessions is for those that logged on simply to use a browser or simple app that requires little resources. The only item i see that I can filter on is a App count, which gives total number of published apps. This is not what I’m looking for. Is it possible to create a report with the results I need in ControlUP?
Hi Damon
I believe our App Statistics report should help here, have you reviewed it?
https://support.controlup.com/docs/application-statistics-report
(This report is based on agent / process data, nothing to do with AVD APIs, however, if CU Agent is running on all AVD hosts, the report should contain data on all apps / processes running in AVD)
will it enable us to determine how many sessions out of the total for the time period that the app(s) ran on?
This report is all about process data, but it does show how many unique users overall ran a process in the given timeframe
So not exactly sessions, but close enough
Foreground usage? As in actively using?
Or is having the process running enough?
For active app you’d:
• get all session activity. https://api.controlup.io/reference/getsessionsstatistics-1
• For each session, call https://api.controlup.io/reference/getsessiondetails
• That api returns (among others), foreground app usage. $response.data[].active apps.
You’d create a list out of that data. Taking the username and machine name from the first call. Then the foreground app usage from the second.
For all app usage, foreground and background.
• grab all used app using https://api.controlup.io/reference/getappusage-1
• pass each app name to https://api.controlup.io/reference/getappusagesingle-1. Leave the version blank.
• that call returns user and computer grouping. Depending on what you need, you iterate through the grouping and add them to a list
I’m traveling/on-site at a customer. But I can share some example Friday or next week if the concepts above seem interesting to you
Much appreciated Dennis
Cc @member
Continue reading and comment on the thread ‘How to Generate Usage Reports in ControlUp’. Not a member? Join Here!
Categories: All Archives, ControlUp for VDI
