A customer recently asked me the following question:
*******************************************************************************************************************************************
Hi Luis,
I have a quick question. Without having the trace turned on in production, Is there a way where we can find the list of users using the application for last N number of days? Do we have any log/report where we can check this info in Axes Server? Please let us know.
********************************************************************************************************************************************
Is there a way, with or without tracing to find out which users, and how many, have logged into an aXesJSM session. If tracing or logging must be turned on to do this, can you point me specifically to which tracing/logging would be required.
Thanks
aXesJSM User Statistics
Moderator: jeanmichel
-
tim mcentee
- Posts: 40
- Joined: 26 Jul 2017, 13:20
Re: aXesJSM User Statistics
Hi Luis
In the httpd.xml config file there is a setting for access and error logs. It is enabled by default. The access log doesn't tell you user profiles, just IP addresses.
TRANSACTION,DATETIME,ADDRESS,PROTOCOL,METHOD,BYTESREAD,BYTESSENT,TIMETAKEN,RESOURCE,USERAGENT
2,2022-11-13 18:01:38 -0500,192.168.30.208,HTTP/1.1,GET,457,2809,620,/,chrome/107.0.0.0
1,2022-11-13 18:01:38 -0500,192.168.30.208,HTTP/1.1,GET,312,5754,1129,/ts/axbuildinfo.js,chrome/107.0.0.0
<instance name="WebServer" active="true" root="../apdev/www/instance/htdocs" index="index.html">
<!--
INSTALL_ROOT - "" or unix "/opt" folder
INSTALL_PORT - "port"
INSTALL_LIB - "library"
-->
<errorlog enabled="true" file="../apdev/www/instance/logs/error.log"/>
<accesslog enabled="true" file="../apdev/www/instance/logs/access.log"/>
<listen port="5583" sslport="5584" interface="*ALL" backlog="256" secure="false"
store="pki/wwwssl.jks" password="password" sslprotocol="TLSV1.2"
buffersend="-1" bufferreceive="-1" nodelay="false" timeout="10"/>
Tim
In the httpd.xml config file there is a setting for access and error logs. It is enabled by default. The access log doesn't tell you user profiles, just IP addresses.
TRANSACTION,DATETIME,ADDRESS,PROTOCOL,METHOD,BYTESREAD,BYTESSENT,TIMETAKEN,RESOURCE,USERAGENT
2,2022-11-13 18:01:38 -0500,192.168.30.208,HTTP/1.1,GET,457,2809,620,/,chrome/107.0.0.0
1,2022-11-13 18:01:38 -0500,192.168.30.208,HTTP/1.1,GET,312,5754,1129,/ts/axbuildinfo.js,chrome/107.0.0.0
<instance name="WebServer" active="true" root="../apdev/www/instance/htdocs" index="index.html">
<!--
INSTALL_ROOT - "" or unix "/opt" folder
INSTALL_PORT - "port"
INSTALL_LIB - "library"
-->
<errorlog enabled="true" file="../apdev/www/instance/logs/error.log"/>
<accesslog enabled="true" file="../apdev/www/instance/logs/access.log"/>
<listen port="5583" sslport="5584" interface="*ALL" backlog="256" secure="false"
store="pki/wwwssl.jks" password="password" sslprotocol="TLSV1.2"
buffersend="-1" bufferreceive="-1" nodelay="false" timeout="10"/>
Tim