我有Scribe Insight服务器,它使用三个私有队列(scribedeadmessage,scribein和scriberetry)。我知道如何使用PowerShell统计每个队列中的消息数量,但我想使用PowerShell根据消息标签来统计每个队列中的消息数量。
来自Scribe publisher的消息结构看起来像;
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<CustomerAddress
ScribePublishDate="2017-01-06T05:39:13.6212008+01:00"
ScribeLabel="CustomerAddress"
MessageLabel="CustomerAddress">
如何统计当前脚本队列中有多少ScribeLabel=为“CustomerAddress”、"CustomerRelation“等的消息?
https://stackoverflow.com/questions/41501754
复制相似问题