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.

88 lines
3.5 KiB

<?xml version="1.0" encoding="utf-8"?>
<form version="1.1">
<fieldset autoRun="true" submitButton="false">
<input type="dropdown" token="host">
<label>Hosts</label>
<allowCustomValues>true</allowCustomValues>
<search>
<query>
`ontap-index` sourcetype=ontap:qtree qtree!=""
| fields host
| dedup host
| sort host
</query>
<earliest>-4h</earliest>
<latest>now</latest>
</search>
<fieldForLabel>host</fieldForLabel>
<fieldForValue>host</fieldForValue>
</input>
<input type="dropdown" token="volume">
<label>Volume</label>
<allowCustomValues>true</allowCustomValues>
<search>
<query>
`ontap-index` sourcetype=ontap:qtree host="$host$" qtree!=""
| fields volume
| dedup volume
| sort volume
</query>
<earliest>-4h</earliest>
<latest>now</latest>
</search>
<fieldForLabel>volume</fieldForLabel>
<fieldForValue>volume</fieldForValue>
</input>
<input type="dropdown" token="name">
<label>QTree Name</label>
<allowCustomValues>true</allowCustomValues>
<search>
<query>
`ontap-index` sourcetype=ontap:qtree host="$host$" volume="$volume$" qtree!=""
| fields qtree
| dedup qtree
| sort qtree
</query>
<earliest>-4h</earliest>
<latest>now</latest>
</search>
<fieldForLabel>qtree</fieldForLabel>
<fieldForValue>qtree</fieldForValue>
</input>
<input type="time">
<default>Last 60 minutes</default>
<label></label>
</input>
</fieldset>
<label>QTree Detail - NetApp Data ONTAP</label>
<row>
<table>
<title>QTree Inventory Detail</title>
<search>
<query>
`ontap-index` sourcetype=ontap:qtree source=qtree-list-iter* volume="*$volume$" id!=0 qtree="*$name$" host="$host$" | dedup id,qtree,volume,host | table id,qtree,volume,host,status,oplocks,security-style,vserver
</query>
<earliest>-24h@h</earliest>
<latest>now</latest>
</search>
</table>
</row>
<row>
<chart>
<search>
<query>
`ontap-index` sourcetype=ontap:perf source=QtreePerfHandler host="$host$" objname="*$volume$/*$name$" | timechart first(cifs_ops_rate) as cifs_ops_rate first(nfs_ops_rate) as nfs_ops_rate first(internal_ops_rate) as internal_ops_rate by objname
</query>
</search>
<title>QTree OPS (Operations/Second)</title>
<option name="charting.axisY.scale">linear</option>
<option name="charting.chart">line</option>
<option name="charting.chart.nullValueMode">connect</option>
<option name="charting.chart.stackMode">default</option>
<option name="charting.legend.placement">right</option>
<option name="charting.axisX.scale">linear</option>
<option name="charting.drilldown">none</option>
</chart>
</row>
</form>