Advertisement
Guest User

Untitled

a guest
Dec 20th, 2012
497
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.62 KB | None | 0 0
  1. <form>
  2.   <label>Test</label>
  3.  
  4.   <fieldset>
  5.        
  6.     <input type="dropdown" token="search_for">
  7.       <label>Pick one:</label>
  8.       <choice value="source">source</choice>
  9.       <choice value="sourcetype">sourcetype</choice>
  10.       <choice value="host">host</choice>
  11.       <default>source</default>
  12.     </input>
  13.    
  14.     <input type="dropdown" token="src">
  15.       <label>Select a sourcetype</label>
  16.         <populatingSearch fieldForValue="sourcetype" fieldForLabel="sourcetype">
  17.  
  18.             <![CDATA[| metadata type=sourcetypes index=main]]>
  19.  
  20.         </populatingSearch>
  21.       <default>access_combined</default>
  22.     </input>
  23.   </fieldset>
  24.  
  25.   <row>
  26.       <chart>
  27.           <title>Sourcetype column chart</title>
  28.           <searchTemplate>
  29.              sourcetype=$src$ | timechart count
  30.           </searchTemplate>
  31.       </chart>
  32.       <chart>
  33.           <title>Sourcetype bar</title>
  34.           <searchTemplate>
  35.              sourcetype=$src$ | timechart count
  36.           </searchTemplate>
  37.           <option name="charting.chart">bar</option>
  38.       </chart>
  39.   </row>
  40.  
  41.   <row>
  42.       <table>
  43.           <title>Sourcetype Table</title>
  44.           <searchTemplate>
  45.              sourcetype=$src$ | table _time date_hour method host source sourcetype
  46.           </searchTemplate>
  47.        
  48.         <drilldown>
  49.           <link field="source">
  50.             <![CDATA[/app/search/flashtimeline?q=sourcetype=$form.src$ source=$row.source$ date_hour=$row.date_hour$]]>
  51.           </link>
  52.           <link field="host"><![CDATA[http://www.google.com/search?hl=en&q=$row.host$]]></link>
  53.         </drilldown>
  54.       </table>
  55.   </row>
  56. </form>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement