Statistics log is the same as the audit log, except the personal identifying user principal information personally identifiable information (PII) is not shown.
This log is useful for statistical analysis or in for cases where access to personally identifiable information is tightly controlled.
Figure 1: Statistics Log – someone (unidentified) has logged out. Another user (unidentified) accessed Logviewer application. |
Enabling Statistics Log
Statistics Log is disabled by default to maximize system performance.
Note |
---|
If you have a SSO cluster installation you need to configure both nodes in the same way. |
Enabling in logger configuration
In order to start creating Statistics log events, you need to edit the logger configuration file which resides in the following location in the default installation:
...
Windows:
Code Block | ||
---|---|---|
| ||
C:\Program Files\Ubisecure\ubilogin-sso |
...
\ubilogin |
...
\custom |
...
\logging |
...
\include-logback.xml |
...
Linux:
Code Block | ||
---|---|---|
| ||
/usr/local/ubisecure/ubilogin-sso |
...
/ubilogin |
...
/custom |
...
/logging |
...
/include-logback.xml |
To enable Statistics log please add statistics=info
to the turboFilter
<DefaultLevels>
configuration:
...
Details about the logger configuration in Understanding SSO logger configuration.
If you don't want to change the default level in the logger configuration, you may also enable or disable Statistics log in the SSO Management UI Logging view by switching the level between OFF
and INFO
. Changing via UI affects to both nodes in the cluster.
Figure 2: SSO Management UI Logging view |
Enabling in Log Viewer
Edit the following file with a text editor to enable the log in the Log Viewer:
...
Code Block | ||
---|---|---|
| ||
/usr/local/Ubisecureubisecure/ubilogin-sso/ubilogin/webapps/logviewer/WEB-INF/filesource.properties |
...
Code Block | ||
---|---|---|
| ||
/usr/local/Ubisecureubisecure/ubilogin-sso/ubilogin/webapps/config/tomcat/update.sh |