Log collection not working after upgrade to 16.0 with single Cloud Detection Server
search cancel

Log collection not working after upgrade to 16.0 with single Cloud Detection Server

book

Article ID: 270498

calendar_today

Updated On:

Products

Data Loss Prevention Enforce Data Loss Prevention Cloud Detection Service Data Loss Prevention Cloud Detection Service for ICAP Data Loss Prevention Cloud Detection Service for REST Data Loss Prevention Cloud Service for Email

Issue/Introduction

After completing upgrade to DLP 16.0 MP1, you are unable to pull logs from the Enforce console.

There is no error when clicking on the "Collect logs" button, but no logs ever appear available for download.

Error in tomcat when log collection is attempted shows a Javascript error:

19 Apr 2023 17:40:20,244- Thread: 349 SEVERE [com.vontu.manager.ui.LogToServerController] loggedInUser:[a-jalvi], url:[/ProtectManager/Logs.do], browserInformation:[Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/112.0], browserLocale:[en-US,en;q=0.5], userLocale:[en_US]
Javascript error at line 198: TypeError: document.getElementsByName(...)[0] is undefined

Looking at line #198 in logs.js we have:

var detectionServerID = document.getElementsByName('value(detectionServer)')[0].value;

Environment

Release : 16.0

Enforce with the Cloud Detection Service

Cause

This only happens when no on-premises Detection Servers are present, where only Cloud Detectors are enrolled.

Resolution

This is a known issue when no on-premises Detection Servers are present in the console (only Cloud Detectors).

A fix for this will be available in the next GA for DLP.

A hotfix is also available from Technical Support. Open a case and refer to CRE-14203 in the case description.

A workaround also exists:

  • Add any type of Detection Server via the "Add Server > Software Server" option in the Servers and Detectors Overview.

This server does not have to serve a function (doesn't need to exist, technically), but it will serve to fulfill the check being performed when the log collection is run.