收集“记录分布式工作流测试事件”规则记录的事件。
此规则收集可用于报表或视图的事件数据。
Target | Microsoft.SystemCenter.ManagementServer |
Category | EventCollection |
Enabled | True |
Alert Generate | False |
Remotable | True |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
ScriptEventProvider | DataSource | Microsoft.Windows.ScriptGenerated.EventProvider | Default |
CollectEvent | WriteAction | Microsoft.SystemCenter.CollectEvent | Default |
WriteToDW | WriteAction | Microsoft.SystemCenter.DataWarehouse.PublishEventData | Default |
<Rule ID="Microsoft.SystemCenter.AgentManagement.CollectEndToEndEvent" Enabled="true" Target="SCLibrary!Microsoft.SystemCenter.ManagementServer" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>EventCollection</Category>
<DataSources>
<DataSource ID="ScriptEventProvider" TypeID="Windows!Microsoft.Windows.ScriptGenerated.EventProvider">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</ComputerName>
<ScriptName>LogEndToEndEvent.js</ScriptName>
<EventNumber>6022</EventNumber>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="CollectEvent" TypeID="SCLibrary!Microsoft.SystemCenter.CollectEvent"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishEventData"/>
</WriteActions>
</Rule>