Skip to content

User Logs

Warning

Mideye Server 5 is no longer updated, and new installations are not supported. Only existing Mideye Server 5 installations and upgrades are supported. Please use Mideye Server 6 for new installations and continued support.

Logs

All accounting, authentication attempts, and logs will be accessed from the logs tab. This tab does not contain any configurable settings and is the only tab except for the dashboard that the role Mideye Operators will be able to view. More information about the different roles can be found here.

Database retention settings

Starting from Mideye Server 5.3 it is possible to customize how long the authentication logs should be stored before being deleted. The retention settings is divided into the following options:

  • retentionInDaysForAuthenticationLog
  • retentionInDaysForAuthenticationLogEntries

The default settings are 365 days for authentication logs and 30 days for authentication log entries.

Authentication logs can be viewed from the web GUI and will show all user authentication activity.

Log entries are more detailed and can be viewed from \Mideye Server 5\log or directly from the web-GUI under “Logs” followed by “Log Files”

Changing the values for database retention

Both settings for database retention can be changed from the application-prod.yml located in \Mideye Server 5\config\ folder. Open the file as an administrator and scroll to the very end of the code. If not already added, paste the following code:

cron:
  # cronExpression: '0 * * * * *'
  cronExpression: '0 0 * * * *'
  retentionInDaysForAuthenticationLog: 365
  retentionInDaysForAuthenticationLogEntries: 30

Change the value of retentionInDaysForAuthenticationLog and retentionInDaysForAuthenticationLogEntries to a desired value.

This will be executed as a cron-job using the following syntax

*    *    *    *    *    *
-    -    -    -    -    -
|    |    |    |    |    |
|    |    |    |    |    + year [optional]
|    |    |    |    +----- day of week (0 - 7) (Sunday=0 or 7)
|    |    |    +---------- month (1 - 12)
|    |    +--------------- day of month (1 - 31)
|    +-------------------- hour (0 - 23)
+------------------------- min (0 - 59)

where the default value cronExpression: 0 0 * * * * will execute the cron-job each day at midnight.

Save the file and restart the Mideye Server for changes to take effect.

Authentication logs

This view gives a detailed overview of the latest authentication attempts made by all RADIUS clients. The data can be sorted on:

  • Time
  • Username
  • RADIUS client
  • Authentication type
  • Msisdn (phone number or token)
  • Result (Successful or failed authentication)
  • Info

Accounting

The accounting page will show all successful logins with a timestamp. The accounting can also be exported to a csv-file.