O365 to Exchange Event Collection

O365SMP.O365toExchange.EventCollection.Rule (Rule)

This rule looks for and collects the event ID 43 in the Operations Manager log.

Element properties:

TargetO365.SMP.WatcherNode.Registry.Class
CategoryEventCollection
EnabledTrue
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
Microsoft.Windows.EventCollector DataSource Microsoft.Windows.EventCollector Default
Microsoft.SystemCenter.CollectEvent WriteAction Microsoft.SystemCenter.CollectEvent Default

Source Code:

<Rule ID="O365SMP.O365toExchange.EventCollection.Rule" Enabled="true" Target="O365.SMP.WatcherNode.Registry.Class" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>EventCollection</Category>
<DataSources>
<DataSource ID="Microsoft.Windows.EventCollector" TypeID="Windows!Microsoft.Windows.EventCollector">
<ComputerName>.</ComputerName>
<LogName>Operations Manager</LogName>
<AllowProxying>false</AllowProxying>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">43</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="Microsoft.SystemCenter.CollectEvent" TypeID="SC!Microsoft.SystemCenter.CollectEvent"/>
</WriteActions>
</Rule>