已成功地为日志队列中的所有日志记录设置了格式并将其移至了相应的格式化存储中

Microsoft.Forefront.TMG.All_log_records_from_the_log_queue_were_successfully_formatted_and_moved_to_the_appropriate_formatted_store.Rule (Rule)

如果已成功地为日志队列中的所有日志记录设置了格式并将其移至了相应的格式化存储中,此规则将生成警报。

Knowledge Base article:

摘要

这是对用于通知日志生成速率超过日志格式设置速率的事件的补充。 它指示 Forefront TMG 不再处于警告状态。

原因

在使用日志队列补偿超过日志格式设置速率的日志生成速率后,成功地为日志队列中的所有日志记录设置了格式并将其移到了相应的格式化存储中。

解决方法

-

Element properties:

TargetMicrosoft.Forefront.TMG.Logging.TextFile
CategoryEventCollection
EnabledTrue
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Forefront.TMG.Rule.AlertGenerate.DS Default
WA WriteAction Microsoft.Forefront.TMG.Rule.AlertGenerate.WA Default

Source Code:

<Rule ID="Microsoft.Forefront.TMG.All_log_records_from_the_log_queue_were_successfully_formatted_and_moved_to_the_appropriate_formatted_store.Rule" Enabled="true" Target="Microsoft.Forefront.TMG.Logging.TextFile" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>EventCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Microsoft.Forefront.TMG.Rule.AlertGenerate.DS">
<ComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>Application</LogName>
<EventsPattern>^(23415)$</EventsPattern>
<EventType>1</EventType>
<SourcePattern>Microsoft Forefront TMG Control</SourcePattern>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WA" TypeID="Microsoft.Forefront.TMG.Rule.AlertGenerate.WA">
<AlertMessageId>$MPElement[Name="Microsoft.Forefront.TMG.All_log_records_from_the_log_queue_were_successfully_formatted_and_moved_to_the_appropriate_formatted_store.AlertMessage"]$</AlertMessageId>
<DomainName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/DomainDnsName$</DomainName>
<Priority>0</Priority>
<Severity>0</Severity>
</WriteAction>
</WriteActions>
</Rule>