<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: execute the default search on view selection in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/execute-the-default-search-on-view-selection/m-p/57666#M3071</link>
    <description>&lt;P&gt;autoRun="true"&lt;/P&gt;

&lt;P&gt;Got it.  Thanks&lt;/P&gt;</description>
    <pubDate>Wed, 25 Jan 2012 17:53:17 GMT</pubDate>
    <dc:creator>DTERM</dc:creator>
    <dc:date>2012-01-25T17:53:17Z</dc:date>
    <item>
      <title>execute the default search on view selection</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/execute-the-default-search-on-view-selection/m-p/57665#M3070</link>
      <description>&lt;P&gt;Is it possible to have a view execute the default search when a user selects it in an application?  The code I've written is below.  The view works, but I have to select the search button.  I want the view to execute when selected from the application menu.  How to accomplish that?  Thanks.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;FORM class="formsearch"&gt;
  &lt;LABEL&gt;Most Tickets&lt;/LABEL&gt;

    &lt;FIELDSET&gt;
&lt;SEARCHTEMPLATE&gt;  index="electronics" sourcetype="hifi" client != "" show!="" | chart count by client &lt;/SEARCHTEMPLATE&gt;
        &lt;INPUT type="time" searchwhenchanged="true" /&gt;
            &lt;DEFAULT&gt;Last 60 minutes&lt;/DEFAULT&gt;
        
    &lt;/FIELDSET&gt;

    &lt;CHOICE value="*"&gt;Any&lt;/CHOICE&gt;

    &lt;INPUT type="time" /&gt;
      &lt;DEFAULT&gt;Last 60 minutes&lt;/DEFAULT&gt;
    

  &lt;ROW&gt;

    &lt;CHART&gt;
      &lt;TITLE&gt;Client Activity Most Active&lt;/TITLE&gt;
      &lt;SEARCHSTRING&gt;  index="electronics" sourcetype="hifi" client != "" show!="" | chart count by client &lt;/SEARCHSTRING&gt;
      pie
      all
    &lt;/CHART&gt;

    &lt;CHART&gt;
      &lt;TITLE&gt;Client Activity (Most ACTIVE)&lt;/TITLE&gt;
          &lt;SEARCHSTRING&gt;
                        index="electronics" sourcetype="hifi" client != "" show!="" | timechart count by client
          &lt;/SEARCHSTRING&gt;
            line
            connect
            log
            Time
            Volume
    &lt;/CHART&gt;
  &lt;/ROW&gt;

  &lt;ROW&gt;
    &lt;TABLE&gt;
      &lt;TITLE&gt;Client Activity Most Active&lt;/TITLE&gt;
      &lt;SEARCHSTRING&gt;  index="electronics" sourcetype="hifi" client != "" show!="" | chart count by client |sort - count | rename client as Client | rename count as Count &lt;/SEARCHSTRING&gt;
      all
    &lt;/TABLE&gt;
  &lt;/ROW&gt;

&lt;/FORM&gt;</description>
      <pubDate>Wed, 25 Jan 2012 17:40:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/execute-the-default-search-on-view-selection/m-p/57665#M3070</guid>
      <dc:creator>DTERM</dc:creator>
      <dc:date>2012-01-25T17:40:22Z</dc:date>
    </item>
    <item>
      <title>Re: execute the default search on view selection</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/execute-the-default-search-on-view-selection/m-p/57666#M3071</link>
      <description>&lt;P&gt;autoRun="true"&lt;/P&gt;

&lt;P&gt;Got it.  Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2012 17:53:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/execute-the-default-search-on-view-selection/m-p/57666#M3071</guid>
      <dc:creator>DTERM</dc:creator>
      <dc:date>2012-01-25T17:53:17Z</dc:date>
    </item>
  </channel>
</rss>

