Microsoft Azure Role WAD Event Log Collect Data Data Source

Microsoft.SystemCenter.MicrosoftAzure.GenericRole.Wad.EventLog.CollectData.DS (DataSourceModuleType)

Microsoft Azure Role WAD Event Log Collect Data Data Source.

Element properties:

TypeDataSourceModuleType
IsolationAny
AccessibilityPublic
RunAsMicrosoft.SystemCenter.MicrosoftAzure.RunAsProfile.Proxy
OutputTypeSystem.Event.Data

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.SystemCenter.WebApplication.PerProbe.Scheduler Default
PA ProbeAction Microsoft.SystemCenter.MicrosoftAzure.RoleInstance.EventLog.CollectData.PA Default
CD1 ConditionDetection System.ExpressionFilter Default
CD2 ConditionDetection System.ExpressionFilter Default

Overrideable Parameters:

IDParameterTypeSelectorDisplay NameDescription
IntervalSecondsint$Config/IntervalSeconds$Interval SecondsInterval Seconds
TimeoutSecondsint$Config/TimeoutSeconds$Timeout SecondsTimeout Seconds
DiagnosticsStorageAccountOverridestring$Config/DiagnosticsStorageAccountOverride$Diagnostics Storage Account OverrideDiagnostics Storage Account Override

Source Code:

<DataSourceModuleType ID="Microsoft.SystemCenter.MicrosoftAzure.GenericRole.Wad.EventLog.CollectData.DS" Accessibility="Public" RunAs="Microsoft.SystemCenter.MicrosoftAzure.RunAsProfile.Proxy" Batching="true">
<Configuration>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" maxOccurs="1" name="IntervalSeconds" type="xsd:integer"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" maxOccurs="1" name="TimeoutSeconds" type="xsd:integer"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="0" maxOccurs="1" name="DiagnosticsStorageAccountOverride" type="xsd:string"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="IntervalSeconds" Selector="$Config/IntervalSeconds$" ParameterType="int"/>
<OverrideableParameter ID="TimeoutSeconds" Selector="$Config/TimeoutSeconds$" ParameterType="int"/>
<OverrideableParameter ID="DiagnosticsStorageAccountOverride" Selector="$Config/DiagnosticsStorageAccountOverride$" ParameterType="string"/>
</OverrideableParameters>
<ModuleImplementation Isolation="Any">
<Composite>
<MemberModules>
<DataSource ID="DS" TypeID="WebApp!Microsoft.SystemCenter.WebApplication.PerProbe.Scheduler">
<Scheduler>
<SimpleReccuringSchedule>
<Interval Unit="Seconds">$Config/IntervalSeconds$</Interval>
<SpreadInitializationOverInterval Unit="Seconds">$Config/IntervalSeconds$</SpreadInitializationOverInterval>
</SimpleReccuringSchedule>
<ExcludeDates/>
</Scheduler>
<UniquenessKey>$Target/Property[Type="Microsoft.SystemCenter.MicrosoftAzure.ServiceResource"]/ResourceId$WADWindowsEventLogsTable</UniquenessKey>
</DataSource>
<ProbeAction ID="PA" TypeID="Microsoft.SystemCenter.MicrosoftAzure.RoleInstance.EventLog.CollectData.PA">
<TimeoutSeconds>$Config/TimeoutSeconds$</TimeoutSeconds>
<Proxy>$Target/Host/Host/Host/Property[Type="Microsoft.SystemCenter.MicrosoftAzure.Subscription"]/ProxyServerAddress$</Proxy>
<Username>$RunAs[Name="Microsoft.SystemCenter.MicrosoftAzure.RunAsProfile.ADCredentials"]/UserName$</Username>
<AuthData>$RunAs[Name="Microsoft.SystemCenter.MicrosoftAzure.RunAsProfile.ADCredentials"]/Password$</AuthData>
<ClientId>$Target/Host/Host/Host/Property[Type="Microsoft.SystemCenter.MicrosoftAzure.Subscription"]/ClientId$</ClientId>
<Authority>$Target/Host/Host/Host/Property[Type="Microsoft.SystemCenter.MicrosoftAzure.Subscription"]/Authority$</Authority>
<ResourceUri>$Target/Host/Host/Host/Property[Type="Microsoft.SystemCenter.MicrosoftAzure.Subscription"]/ResourceUri$</ResourceUri>
<ArmResourceUri>$Target/Host/Host/Host/Property[Type="Microsoft.SystemCenter.MicrosoftAzure.Subscription"]/ArmServiceUri$</ArmResourceUri>
<BaseManagementApiAddress>$Target/Host/Host/Host/Property[Type="Microsoft.SystemCenter.MicrosoftAzure.Subscription"]/ManagementServiceUri$</BaseManagementApiAddress>
<ManagementApiVersion>$Target/Host/Host/Host/Property[Type="Microsoft.SystemCenter.MicrosoftAzure.Subscription"]/ManagementServiceApiVersion$</ManagementApiVersion>
<SubscriptionId>$Target/Host/Host/Host/Property[Type="Microsoft.SystemCenter.MicrosoftAzure.Subscription"]/SubscriptionId$</SubscriptionId>
<ServiceName>$Target/Host/Property[Type="Microsoft.SystemCenter.MicrosoftAzure.AzureServiceGeneric"]/ServiceName$</ServiceName>
<DeploymentSlot>$Target/Property[Type="Microsoft.SystemCenter.MicrosoftAzure.GenericRole"]/DeploymentSlot$</DeploymentSlot>
<DeploymentId>$Target/Property[Type="Microsoft.SystemCenter.MicrosoftAzure.GenericRole"]/DeploymentId$</DeploymentId>
<RoleName>$Target/Property[Type="Microsoft.SystemCenter.MicrosoftAzure.ServiceResource"]/ResourceName$</RoleName>
<RoleType>NonPersistentVMRole</RoleType>
<StorageServiceDnsSuffix>$Target/Host/Host/Host/Property[Type="Microsoft.SystemCenter.MicrosoftAzure.Subscription"]/StorageServiceDnsSuffix$</StorageServiceDnsSuffix>
<StorageServiceApiVersion>$Target/Host/Host/Host/Property[Type="Microsoft.SystemCenter.MicrosoftAzure.Subscription"]/StorageServiceApiVersion$</StorageServiceApiVersion>
<DiagnosticsStorageAccount>$Target/Property[Type="Microsoft.SystemCenter.MicrosoftAzure.GenericRole"]/DiagnosticsStorageAccount$</DiagnosticsStorageAccount>
<DiagnosticsStorageAccountOverride>$Config/DiagnosticsStorageAccountOverride$</DiagnosticsStorageAccountOverride>
<DiagnosticsStorageTable>WADWindowsEventLogsTable</DiagnosticsStorageTable>
</ProbeAction>
<ConditionDetection ID="CD1" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<Value Type="String">alwaystrue</Value>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">alwaystrue</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
<ConditionDetection ID="CD2" TypeID="System!System.ExpressionFilter">
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="String">LoggingComputer</XPathQuery>
</ValueExpression>
<Operator>ContainsSubstring</Operator>
<Pattern>$Target/Host/Host/Host/Property[Type="Microsoft.SystemCenter.MicrosoftAzure.Subscription"]/SubscriptionId$.$Target/Host/Property[Type="Microsoft.SystemCenter.MicrosoftAzure.AzureServiceGeneric"]/ServiceName$.$Target/Property[Type="Microsoft.SystemCenter.MicrosoftAzure.GenericRole"]/DeploymentSlot$</Pattern>
</RegExExpression>
</Expression>
</ConditionDetection>
</MemberModules>
<Composition>
<Node ID="CD2">
<Node ID="CD1">
<Node ID="PA">
<Node ID="DS"/>
</Node>
</Node>
</Node>
</Composition>
</Composite>
</ModuleImplementation>
<OutputType>System!System.Event.Data</OutputType>
</DataSourceModuleType>