SharePoint Event Collection Rule

Microsoft.Dynamics.Retail.AX2012.R2.FP.Troubleshooting.Rules.SharePointEventCollection (Rule)

This rule collects events for SharePoint hosted application instances.

Knowledge Base article:

Summary

The SharePoint event collection rule collects the events for SharePoint application instances.

Element properties:

TargetMicrosoft.Dynamics.Retail.AX2012.R2.FP.Base.Class.SharePointServer
CategoryEventCollection
EnabledTrue
Alert GenerateFalse
RemotableFalse
Event LogApplication

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.EventProvider Default
WriteToDB WriteAction Microsoft.SystemCenter.CollectEvent Default
WriteToDW WriteAction Microsoft.SystemCenter.DataWarehouse.PublishEventData Default

Source Code:

<Rule ID="Microsoft.Dynamics.Retail.AX2012.R2.FP.Troubleshooting.Rules.SharePointEventCollection" Enabled="true" Target="Base!Microsoft.Dynamics.Retail.AX2012.R2.FP.Base.Class.SharePointServer" ConfirmDelivery="true" Remotable="false" Priority="Normal" DiscardLevel="100">
<Category>EventCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.EventProvider">
<ComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>Application</LogName>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">$Target/Property[Type='Base!Microsoft.Dynamics.Retail.AX2012.R2.FP.Base.Class.SharePointServer']/PublisherName$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectEvent"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishEventData"/>
</WriteActions>
</Rule>