-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtsmdb_index.xml
37 lines (37 loc) · 1.77 KB
/
tsmdb_index.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<form>
<label>TSMDB Index</label>
<description></description>
<searchTemplate>
| inputlookup tsmdb | search frequency!=NEVER | stats list(internal_name) AS internal_name list(version) AS version by name,columns,frequency | eval _raw=name+":"+columns | makemv columns delim=";" | search ( $filterString$ ) | table name frequency columns version internal_name
</searchTemplate>
<fieldset autoRun="True">
<input type="text" token="filterString" searchWhenChanged="True">
<label>Filter</label>
<default/>
</input>
</fieldset>
<row>
<html>
<p>This is the list of all the 'tables' available in the TSMDB index.</p>
<p>In order to read them, you can use the following searches:
<ul>
<li><b>`tsmdb("<name>")`</b>: search for all data from that table</li>
<li><b>`tsmdb("<name>")` tsmserver="<tsmserver>"</b>: search for all data from that table for one server only</li>
<li><b>`lastdb("<name>")`</b>: search for only the last data from that table</li>
<li><b>`lastdb("<name>", "<tsmserver>")`</b>: search for only the last data from that table for one server only</li>
<li><b>`lastdb_time("<name>", <time>")`</b>: search for only the last data from that table during that time</li>
</ul>
</p>
</html>
</row>
<row>
<panel>
<title>Tables</title>
<table>
<drilldown>
<link><![CDATA[search?earliest=-24h&latest=now&q=`lastdb("$row.name$")`]]></link>
</drilldown>
</table>
</panel>
</row>
</form>