How can I monitor web app usage?
5 views (last 30 days)
Show older comments
As an admin I would like to monitor the usage of the Matlab Web Apps within our network. For an example: which app is used the most? How many sessions per week? Average session time? Etc.
Can this be done by analyzing the log files or how does MathWorks recommend this to done?
2 Comments
Manas Shivakumar
on 9 Oct 2023
App usage and network traffic seems to be calculatable from logs, but I don't think it will be straightforward. Manage sessions of web apps - MATLAB Answers - MATLAB Central (mathworks.com)
Answers (1)
Ayush
on 1 Dec 2023
Hey Andres,
I understand that you want to monitor the usage of MATLAB web apps within the network, and you want to know if there is an inbuilt session manager or some other way to achieve this.
There is no built-in session manager in the web app server as of R2019a, so you may need to use some custom scripts or tools to analyse the log files and get the metrics you want. However, there are some ways to track and manage web app sessions:
- Check the web app sessions log, which records the incoming connections and exits from the web app server.
- Setting the timeout from the web app server configurations, which determines how long an inactive session remains open.
For more information on web apps and managing sessions of web apps using MATLAB, kindly refer to the MathWorks documentation link below:
- https://www.mathworks.com/help/compiler/web-apps.html
- https://www.mathworks.com/matlabcentral/answers/472777-manage-sessions-of-web-apps
Hope this helps!
Regards,
Ayush Goyal
0 Comments
See Also
Categories
Find more on MATLAB Web App Server in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!