Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <form>
- <label>Test</label>
- <fieldset>
- <input type="dropdown" token="search_for">
- <label>Pick one:</label>
- <choice value="source">source</choice>
- <choice value="sourcetype">sourcetype</choice>
- <choice value="host">host</choice>
- <default>source</default>
- </input>
- <input type="dropdown" token="src">
- <label>Select a sourcetype</label>
- <populatingSearch fieldForValue="sourcetype" fieldForLabel="sourcetype">
- <![CDATA[| metadata type=sourcetypes index=main]]>
- </populatingSearch>
- <default>access_combined</default>
- </input>
- </fieldset>
- <row>
- <chart>
- <title>Sourcetype column chart</title>
- <searchTemplate>
- sourcetype=$src$ | timechart count
- </searchTemplate>
- </chart>
- <chart>
- <title>Sourcetype bar</title>
- <searchTemplate>
- sourcetype=$src$ | timechart count
- </searchTemplate>
- <option name="charting.chart">bar</option>
- </chart>
- </row>
- <row>
- <table>
- <title>Sourcetype Table</title>
- <searchTemplate>
- sourcetype=$src$ | table _time date_hour method host source sourcetype
- </searchTemplate>
- <drilldown>
- <link field="source">
- <![CDATA[/app/search/flashtimeline?q=sourcetype=$form.src$ source=$row.source$ date_hour=$row.date_hour$]]>
- </link>
- <link field="host"><![CDATA[http://www.google.com/search?hl=en&q=$row.host$]]></link>
- </drilldown>
- </table>
- </row>
- </form>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement