Set up the export of device audit records to a syslog server
- Using the same account that you used to install BlackBerry UEM, open a command prompt as an administrator and run the following to upload a device audit syslog CA certificate. The commands cannot contain any line breaks.
SET BESRoot=C:\Program Files\BlackBerry\UEM "C:\BlackBerry\BlackBerry UEM <version>\db\Database\tools\keymaster.bat" -keystore "<CA_certificate_path>" load -BESRoot "%BESRoot%" -keystoreType DEVICE_AUDITLOG_SYSLOG_CACERTS -trusted- <version> is the version number used in the installation file path (for example, 12.24.0).
- <CA_certificate_path> is the folder path to the certificate file (.cer), for example, "C:\temp\syslog-ca.cer".
- Run the following to configure mutual authentication and upload a device audit syslog client key pair. The commands cannot contain any line breaks.
SET BESRoot=C:\Program Files\BlackBerry\UEM "C:\BlackBerry\BlackBerry UEM <version>\db\Database\tools\keymaster.bat" -keystore "<audit_certificate_path>" -password "<certificate_password>" load -BESRoot "%BESRoot%" -keystoreType DEVICE_AUDITLOG_SYSLOG_CLIENT- <version> is the version number used in the installation file path (for example, 12.24.0).
- <audit_certificate_path> is the folder path to the device audit certificate file.
- <certificate_password> is the certificate password.
- Prepare the script in Script to enable the export of device audit records to syslog:
- Change the hostname and port number to match your environment. For example:
SET @v_hostname = 'localhost'; SET @v_port = '514'; - Set any syslog specific formatting attributes as described in the script.
- Change the hostname and port number to match your environment. For example:
- Execute the script against the UEM database.
- Restart the BlackBerry UEM Core service.