Partager via


Configure Advanced Subscription Settings

Applies To: Windows Server 2008, Windows Vista

You can configure how collected events are delivered and specify the account used to manage the process of collecting events. Event Viewer provides three event delivery optimization options: Normal, Minimize Bandwidth and Minimize Latency. The following table lists each option along with a description of when it is an appropriate choice.

Event Delivery Optimization Options Description

Normal

This option ensures reliable delivery of events and does not attempt to conserve bandwidth. It is the appropriate choice unless you need tighter control over bandwidth usage or need forwarded events delivered as quickly as possible. It uses pull delivery mode, batches 5 items at a time and sets a batch timeout of 15 minutes.

Minimize Bandwidth

This option ensures that the use of network bandwidth for event delivery is strictly controlled. It is an appropriate choice if you want to limit the frequency of network connections made to deliver events. It uses push delivery mode and sets a batch timeout of 6 hours. In addition, it uses a heartbeat interval of 6 hours.

Minimize Latency

This option ensures that events are delivered with minimal delay. It is an appropriate choice if you are collecting alerts or critical events. It uses push delivery mode and sets a batch timeout of 30 seconds.

The Custom event delivery option is never used when managing subscriptions created by using the Event Viewer snap-in. The Event Viewer can only create subscriptions with event delivery settings that correspond to the Normal, Minimize Bandwidth or Minimize Latency options. However, you can use Event Viewer to manage a subscription that was created or updated by using a different method, like the wecutil command-line tool. In that case, the Custom option is selected to indicate that the set of delivery settings of the subscription do not correspond to any of those supported by Event Viewer.

To configure advanced subscription settings

  1. Perform steps 1—6 of the Create a New Subscription procedure.

  2. Click Advanced.

  3. On the Advanced Subscription Settings dialog box, you can either specify an event delivery optimization or specify the account used to manage the process of collecting events.

    • To specify an event delivery optimization: Select the Event Delivery Optimization option you want and click OK.

    • To specify the account used to manage the process of collecting events, select the Specific User option, then click User and Password and enter the user name and password of the account and click OK. Click OK on the Advanced Subscription Settings dialog box.

Additional Considerations

The Minimize Bandwidth and Minimize Latency options both batch a default number of items at a time. You can determine the value of this default by typing the following command at a command prompt:

winrm get winrm/config.

You can change the default number of items in a batch by typing the following command at a command prompt:

winrm set winrm/config @{MaxBatchItems=<NumberOfItems>}

The following example shows how to change the default number of batched items to five:

winrm set winrm/config @{MaxBatchItems="5"}

Additional Resources