How can I monitor web app usage?

5 次查看(过去 30 天)
Anders Brask
Anders Brask 2022-3-17
回答: Ayush 2023-12-1
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 个评论
Manas Shivakumar
Manas Shivakumar 2023-10-9
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)

请先登录,再进行评论。

回答(1 个)

Ayush
Ayush 2023-12-1
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

类别

Help CenterFile Exchange 中查找有关 MATLAB Web App Server 的更多信息

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by