You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

77 lines
2.2 KiB

<form isVisible="false" version="1.1">
<label>Throttling Policy - Microsoft Exchange</label>
<fieldset autoRun="true">
<input token="Name" type="dropdown" searchWhenChanged="true">
<fieldForLabel>Name</fieldForLabel>
<fieldForValue>Name</fieldForValue>
<search>
<query>eventtype=msexchange-throttling-policies|stats count by Name</query>
<earliest>-24h</earliest>
<latest>now</latest>
</search>
<selectFirstChoice>true</selectFirstChoice>
</input>
</fieldset>
<row>
<panel>
<table>
<title>User List</title>
<search>
<query>
eventtype=msexchange-mailbox-usage ThrottlingPolicy="$Name$"
|stats count by User
|table User
|sort User
</query>
<earliest>-24h</earliest>
<latest>now</latest>
</search>
<option name="count">20</option>
<option name="showPager">true</option>
</table>
</panel>
<panel>
<table>
<title>Global Limits</title>
<search>
<query>
eventtype=msexchange-throttling-policies Name="$Name$"
|head 1
|fillnull value="Unlimited" MessageRateLimit,RecipientRateLimit,ForwardeeLimit
|`fix-unlimited-value(MessageRateLimit)`
|`fix-unlimited-value(RecipientRateLimit)`
|`fix-unlimited-value(ForwardeeLimit)`
|stats latest(MessageRateLimit) as MessageRateLimit,latest(RecipientRateLimit) as RecipientRateLimit,latest(ForwardeeLimit) as ForwardeeLimit
|transpose
|rename column as Limit,"row 1" as "Value"
</query>
<earliest>-24h</earliest>
<latest>now</latest>
</search>
<option name="count">20</option>
<option name="showPager">false</option>
</table>
<table>
<title>Per-Protocol Limits</title>
<search>
<query>
eventtype=msexchange-throttling-policies Name="$Name$"
|head 1
|table *
|transpose
|rename "row 1" as Value
|rex field=column "^(?&lt;f1&gt;.*?)(?&lt;f2&gt;(Max|Percent).*)"
|search f2="MaxConcurrency" OR f2="PercentTimeIn*"
|chart max(Value) by f1,f2
|rename f1 as Protocol
</query>
<earliest>-24h</earliest>
<latest>now</latest>
</search>
<option name="count">20</option>
<option name="showPager">false</option>
</table>
</panel>
</row>
</form>