Before you can obtain audit logs for Samsung Knox, you must first configure the feature in the AirWatch Console.

  1. Navigate to Groups & Settings > All Settings > Devices &Users > Android > Agent Settings to configure the audit logs.

  2. Select Enable Audit Logging under Samsung Knox.
  3. Set parameters for retrieving the audit logs:  

    • Logging Level – Determines how severe an error has to be in order for it to be sent to the log file. The logging levels are listed in order or severity where Notice is the least severe and Alert is the most severe. The log levels are:
      • Alert
      • Critical
      • Error
      • Warning
      • Notice
  4. Set the minimum level (in percentage) of the log files that are sent to the AirWatch Console. The following text boxes determine how frequent the log files are sent:
    • Critical Log Size – Enter a percentage (up to 70 percent) to define the critical log size. When the log file passes this percentage, a critical log size alert is sent to the admin.
    • Maximum Log Size – Enter a percentage (up to 90 percent) to define the maximum log size. When the log file passes this percentage, a maximum log size alert is sent to the admin.
    • Full Log size – Set to 97 percent by default. When the log file reaches this percentage, a full log size alert is sent to the admin and immediate action is required.
    Important:

    Critical Log Size and Maximum Log Size are configurable. Full Log Size is required to be set at 97%.

  5. Set when the log files are automatically transmitted to the AirWatch Console:

    • Transmits Logs Automatically – Determines when the audit logs are to be transmitted to the AirWatch Console to notify the admins of errors:
      • Never – The log file is never transmitted to the console.
      • Critical – The log file needs be at critical size to be transmitted to the console.
      • Maximum – The log file needs be at maximum size to be transmitted to the console.
      • Full – The log file needs be at full size to be transmitted to the console.
  6. Select Save.
  7. Navigate to Devices > List View > Select desired device > More > Attachments > Documents to view the log files.