Implement a user device store to centralize device data
Device data collected from different daemons is centralized in a user device store for quick access and performance. Thousands of devices can be displayed in the GUI in seconds. The maximum number of devices and users that are stored in the database can be configured.
For example, go to Dashboard > Users & Devices and expand the Device Inventory widget.
To configure the maximum number of devices and users that are stored in the database:
config system global set user-device-store-max-devices <value> set user-device-store-max-users <value> end
To view the user or device on disk session information:
-
List all records:
diagnose user-device-store {device | user} disk list
-
Query by SQL WHERE clause:
diagnose user-device-store {device | user} disk query <SQL WHERE clause>
To view the user or device in memory session information:
-
List all records:
diagnose user-device-store {device | user} memory list
-
Query by username or IP address:
diagnose user-device-store {device | user} memory query {ip | username} <value>