Forwarded event log
Windows allows events to be forwarded from one host to another and by default, the forwarded event will be stored in the
folder but a different folder can be specified.You can configure the probe to monitor the forwarded events stored in any forwarded event log folder. Therefore, this probe indirectly supports remote event extraction by allowing you to retrieve events from the Forwarded Events folder.
The following configuration example explains how to set up Windows to forward from one host to another. The events forwarded from the source host (Host B) are sent to the collector host (Host A). A subscription is then configured on Host A that allows you to collect the forwarded events.
Set up event forwarding from Host B
First set up event forwarding from Host B:
- Log on to Host B.
- Open a command
prompt and run the following command:
winrm quickconfig
- When prompted to make changes
to the WinRM listener and Windows
Firewall, enter Y.
You will receive a confirmation that these changes were successful.
Set up event collection on Host A
On the collector host (Host A), you need to set up event collection. To do this, enable and start the collector service on the central server.
- Log on to Host A.
- Open a command prompt
and run the following command:
wecutil qc
- When prompted to change the service startup
mode, choose Yes.
You should see a confirmation that the collector service was set up properly.
Create subscriptions to events on Host A
After setting up event forwarding and collection, you need to create subscriptions for the events that you wish to forward to the collector. Subscriptions are set up on the collector host. To set up a subscription, perform the following steps:
- Open Server Manager by selecting .
- Expand the nodes.
- Right-click the node and choose .
- In the Subscription Properties window, enter the text All Critical and Warning Events in the Subscription Name text box.
- Choose the option. This option instructs the collector to connect to the source computers to gather events.
- Click the button.
- In the OK button in the Computers window to return to the . window, click the button. Enter the name Host B and click the button. Click the
- Click the button.
- Select the and options and then choose all . Then click the button.
- Click the to open the .
- Click Machine Account.
- Enter a username and password with sufficient access to the event logs on the source computer. Then click the button.
- Click the
You will now see the subscription active.
button
two more times to close all windows.
Test the subscription
Finally, test the subscription by creating a warning event on Host B:
- Log on to the source computer, Host B.
- Open a command prompt
and enter the following:
EVENTCREATE /T Warning /ID 500 /L Application /D “Testing Subscription”
- Log on to Host A and open .
- Click on the
The warning event you created on Host B should be displayed in the Forwarded Events log on Host A. You may need to click the Refresh button if the event does not appear. There is a short delay between the time an event is logged on a local computer and the time it is forwarded to the collector server.
node.