Clear Filters
Clear Filters

How can I monitor web app usage?

5 views (last 30 days)
Anders Brask
Anders Brask on 17 Mar 2022
Answered: Ayush on 1 Dec 2023
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
子木 刘
子木 刘 on 3 May 2023
I want to know the answer,too!
Manas Shivakumar
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)

Sign in to comment.

Answers (1)

Ayush
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:
  1. Check the web app sessions log, which records the incoming connections and exits from the web app server.
  2. 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:
  1. https://www.mathworks.com/help/compiler/web-apps.html
  2. https://www.mathworks.com/matlabcentral/answers/472777-manage-sessions-of-web-apps
Hope this helps!
Regards,
Ayush Goyal

Categories

Find more on MATLAB Web App Server in Help Center and File Exchange

Products


Release

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!