Skip to content

Instantly share code, notes, and snippets.

@simcen
Created October 21, 2015 08:15
Show Gist options
  • Select an option

  • Save simcen/d7e1dba189f284727317 to your computer and use it in GitHub Desktop.

Select an option

Save simcen/d7e1dba189f284727317 to your computer and use it in GitHub Desktop.
<form script="sample_dashboard.js">
<label>Sample Dashboard</label>
<fieldset submitButton="false" autoRun="true">
<input type="dropdown" token="nr_rows" searchWhenChanged="true">
<label>Number of rows:</label>
<choice value="10">10</choice>
<choice value="20">20</choice>
<choice value="30">30</choice>
<default>10</default>
</input>
</fieldset>
<row>
<panel>
<table id="sample_table">
<search>
<query>index=_internal | table _time, _raw</query>
<earliest>@d</earliest>
<latest>now</latest>
</search>
<option name="list.drilldown">full</option>
<option name="list.wrap">1</option>
<option name="maxLines">5</option>
<option name="raw.drilldown">full</option>
<option name="rowNumbers">false</option>
<option name="table.drilldown">all</option>
<option name="table.wrap">1</option>
<option name="type">list</option>
<option name="wrap">true</option>
<option name="dataOverlayMode">none</option>
<option name="drilldown">cell</option>
</table>
</panel>
</row>
</form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment