How to Log BDRShield Events in Windows Event Viewer

How to Log BDRShield Events in Windows Event Viewer

KB ID: 115061
Purpose:
This knowledge base article provides steps to enable Events Logging in the  BDRShield Backup Server,  OffsiteDR, and other BDRShield Agents.
Solution:
By default, the Event Logger option is disabled in the BDRShield suite and can be enabled by editing the configuration file: `SGConfiguration.conf`, located in the `<Installation_Location>/Conf` folder.
Note:
  1. Event Log option is available for the Windows platform only.
  2. Applies to BDRShield v3.9.0 and later.
Steps to Enable Event Logs
1. Navigate to the following folder location: `<vembu_product_installation_location>/conf` and locate the `SGConfiguration.conf` file.
2. Open the `SGConfiguration.conf` file using a text editor.
3. Find the `<Event>` tag in the configuration file. The structure looks like this:
   <Event IsEnabled="0" MaxCount="1000" PruneBy="3">
       <EventType Status="CRITICAL_EVENT" IsEnabled="0">
       <EventType Status="MAJOR_EVENT" IsEnabled="0">
       <EventType Status="WARNING" IsEnabled="0">
       <EventType Status="INFORMATION" IsEnabled="0">
   </Event>
4. Enable Event Logger by changing the `IsEnabled` value to "1" from "0". The updated `<Event>` tag should look like this:
   <Event IsEnabled="1" MaxCount="1000" PruneBy="3">
       <EventType Status="CRITICAL_EVENT" IsEnabled="1">
       <EventType Status="MAJOR_EVENT" IsEnabled="1">
       <EventType Status="WARNING" IsEnabled="1">
       <EventType Status="INFORMATION" IsEnabled="1">
   </Event>
5. To apply the changes, restart the "BDRShield_Backup_Server_Virtual_Physical_Workloads" service from Services.msc on the BDRShield backup server machine.

Note: 
  1. Service Name of Backup Agents - BDRShield Delegation Service
  2. Service Name of OffsiteDR Server - BDRShield_OffsiteDR_Server_Virtual_Physical_Workload
Note: After restarting, the backup server events will be logged in the Windows Event Viewer. You can view these events by navigating to Event Viewer (local) -> Windows Logs -> Application. The source of these events will be "BDRShield_Backup_Server_Virtual_Physical_Workloads." If needed, you can create a custom filter to view these events more easily.
Tags under the Event Logger option explained:
  1. The `MaxCount` tag refers to the event count that can be viewed in Event Viewer.
  2. The `PruneBy` tag refers to the timespan of events to be logged where:
  1. 1 refers to a day
  2. 2 refers to a week
  3. 3 refers to a month
Users can also choose the event type to be logged based on its severity using the `EventType Status` tag, where it is further classified into:
  1. CRITICAL_EVENT
  2. MAJOR_EVENT
  3. WARNING
  4. INFORMATION
These event types can be enabled by changing the `IsEnabled` value to "1" from "0" alongside the respective value.