Documentation Center
AlienVault® USM Anywhere™

Windows Event Collector Log Forwarding

Windows Event Forwarding (WEF) reads any operational or administrative event log on a device and forwards the events you choose to a Windows Event Collector (WEC) server. On the device that you set up as a Windows Event Log collector, you configure subscriptions that pull the desired logs from any number of source computers. No special configuration is required on the source computers, other than that Windows Remote Management (WinRM) should be enabled, the WinRM Windows Firewall exceptions be enabled, and the computer account for the collector must have read permission on the logs that you want to subscribe to.

Set Up Windows Event Forwarding

USM provides the log forwarding policy that you use to set up the WEF on your Windows Server.

To get the USM Anywhere log forwarding policy

  1. In USM Anywhere, go to Data Sources > Integrations.
  2. Click the Sensor Apps tab.
  3. In the left navigation list, select Windows Event Collector.

  4. Select the USM Anywhere Sensor where you enabled the WEC Sensor app.
  5. Copy the policy from the field labeled Log Forwarding Policy.

    You will use this in the next procedure to configure the policy on your Windows Server.

    The policy follows this pattern:

    Server=HTTPS://PRIVATE_SENSOR_IP:5986/wsman/,Refresh=<REFRESH_INTERVAL_IN_SECONDS>, IssuerCA=<CERTIFICATE_THUMBPRINT>

To configure the policy on your Windows Server

  1. On the Windows Server, go to the Control Panel and open the Local Group Policy Editor.
  2. Select Computer Configuration > Administrative Templates > Windows Components > Event Forwarding, and then click Configure Target Subscription Manager.
  3. Click the Edit policy setting link.

  4. In the Configure Target Subscription Manager window, make sure that the subscription is marked as Enabled.
  5. In the Options section of the window, click Show to open the subscription managers.

  6. In the new Show Contents window, paste the policy that you copied from USM Anywhere in the previous procedure into the new subscription Value field.

  7. Click OK and close the Local Group Policy Editor.
  8. Next, open the terminal and apply the new configurations by entering the following command:

    gpupdate /force

Verify the Windows Event Log Collection

You can verify that your Windows event log collection configurations are correct by reviewing the event logs.

To review the Windows event logs

  1. On the Windows Server, open the Event Viewer.

  2. Go to Applications and Services Logs > Microsoft > Windows > Eventlog-ForwardingPlugin and check for any errors.

    You might see warnings if there are any paths that are not configured on your Windows Servers.

If the Windows event log collection configuration is without errors or warnings, you can view the events in the USM AnywhereEvents page.