Integrate Virtual Device Event Logs
With the virtual device feature, you can record events such as clock-in and clock-out from mobile apps or third-party services directly in BioStar X when you integrate with Time & Attendance. You can systematically manage event logs without a physical device, which is useful for integration with external systems.
When should you use it?
Use the virtual device event log integration feature in the following situations.
-
When you need to centrally manage events from an external attendance management system in BioStar X
-
When you need to save punch logs from a mobile app or external system directly in BioStar X (record clock-in/clock-out events without database integration)
-
When you need to send events directly through the BioStar X API from a third-party application or service
Before you start
The Event Log API license must be activated. For more information about licensing policies, see License Policy.
For more information about applying licenses, see BioStar X License.
Register a virtual device
-
On the Launcher page, click Settings.
-
Click Device → Device in the left sidebar.
-
In the device list, click in the upper-right corner of the screen, and then select Add Virtual Device.

-
When the Add Virtual Device screen appears, enter the setting information.

-
Name: Enter the virtual device name.
-
Group: Select the group to assign the virtual device to.
-
Device ID: Enter the unique ID for the virtual device. Set it to a value that does not duplicate an existing device ID.
-
Description: Enter a description for the virtual device.
-
-
Click Apply in the lower-right corner of the screen to register the virtual device.
-
Device ID can be set to a value from 100000 to 999999. Set it to a value that does not duplicate an existing Suprema device ID.
-
You cannot change the Device ID value after you create it.
Manage device groups
Virtual devices can use the device group feature just like regular devices.
-
You can place them in the same group as existing devices.
-
If you have group permissions, you can grant permissions to virtual devices in that group.
For more information about device groups, see Manage Device Groups.
Virtual device limitations
-
Virtual devices appear only in the following menus.
-
Settings → Device → Device
-
View all event logs and preview event logs in the Monitoring menu
-
View event logs in the Data menu
-
-
Virtual devices cannot use access control features at doors or in Advanced AC.
-
Virtual devices cannot be specified as devices for T&A settings.
-
Virtual devices do not appear in the device list in the left sidebar of the Monitoring menu.
-
Device control features are not available.
-
Not included in the device count for the Multi Communications Server license.
Log events via API
Supported event types
Only the following event types can be logged.
-
Access granted (
4088) -
Access denied (
6400)
API parameters
You must provide the following parameters when logging events.
| Parameter | Description | Required |
|---|---|---|
dev_id | Only registered virtual device IDs are allowed | Yes |
evt | Access Granted or Access Denied | Yes |
datetime | Event occurrence time | Yes |
user_id | User ID | Yes |
tna_key | Only the specified value can be entered | No |
{
"packet_device_id" : 100003, // required
"is_virtual_device" : "true", // required
"events":[ //4088 access granted, 6400 access denied
{
"dev_id": 100003, // required
"evt": 6400, // required
"datetime": "2025-08-21T14:12:00Z", // required
"user_id": "2", // required
"tna_key": "1"
},
{
"dev_id": 100003,
"evt": 6400,
"datetime": "2025-08-21T14:13:01Z",
"user_id": "2",
"tna_key": "1"
}
]
}
{
"Response": {
"code": "0",
"link": "https://support.supremainc.com/en/support/home",
"message": "Success"
}
}
-
You can log multiple events for a single virtual device at once in a single API call.
-
For more information about using the API, see the BioStar X API.
View event logs
Event logs recorded through the virtual device are available in the menu.
-
Monitoring: View and filter all events, and preview events
-
Data: View and filter all events
-
For more information about viewing events in the Monitoring menu, see Monitor Events.
-
For more information about the Data menu, see Generate a Report.
Audit trail
When event logs are recorded, an audit trail entry is created as shown in the example below.
Access Granted, 2025/08/05 03:37:49, outside the access door on Floor 12, Administrator(1)
-
Even if you log events in a batch, a separate audit trail entry is created for each event.
-
For more information about Audit Trail, see Manage Audit Trail.
Troubleshooting
If the Add Virtual Device button is not visible
Make sure the Event Log API license is activated.
If an API call fails
-
Make sure the Event Log API license is activated.
-
Make sure the device ID is for a registered virtual device.
-
Make sure the API parameter format is correct.
If events do not appear
-
Make sure the device you used for logging has the correct virtual device ID.
-
Make sure the virtual device is selected in the event filter.
-
Check the audit trail to make sure no errors occurred when logging events.