<?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 Clean All Filter Inputs With A Button? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Clean-All-Filter-Inputs-With-A-Button/m-p/173472#M10766</link>
    <description>&lt;P&gt;I have IN-PAGE Drill down with 6 filters, 1 dynamic drop down, 1 time picker and four text inputs...&lt;BR /&gt;
How can I make a button which cleans all filter with the default value a "*" ??&lt;BR /&gt;
Thanks in advance!&lt;/P&gt;</description>
    <pubDate>Wed, 06 Aug 2014 19:59:12 GMT</pubDate>
    <dc:creator>vtsguerrero</dc:creator>
    <dc:date>2014-08-06T19:59:12Z</dc:date>
    <item>
      <title>Clean All Filter Inputs With A Button?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Clean-All-Filter-Inputs-With-A-Button/m-p/173472#M10766</link>
      <description>&lt;P&gt;I have IN-PAGE Drill down with 6 filters, 1 dynamic drop down, 1 time picker and four text inputs...&lt;BR /&gt;
How can I make a button which cleans all filter with the default value a "*" ??&lt;BR /&gt;
Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Wed, 06 Aug 2014 19:59:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Clean-All-Filter-Inputs-With-A-Button/m-p/173472#M10766</guid>
      <dc:creator>vtsguerrero</dc:creator>
      <dc:date>2014-08-06T19:59:12Z</dc:date>
    </item>
    <item>
      <title>Re: Clean All Filter Inputs With A Button?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Clean-All-Filter-Inputs-With-A-Button/m-p/173473#M10767</link>
      <description>&lt;P&gt;Or can I use a drill down link element inside an input, just a button that passes all tokens equal to * ?&lt;/P&gt;</description>
      <pubDate>Thu, 07 Aug 2014 14:55:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Clean-All-Filter-Inputs-With-A-Button/m-p/173473#M10767</guid>
      <dc:creator>vtsguerrero</dc:creator>
      <dc:date>2014-08-07T14:55:19Z</dc:date>
    </item>
    <item>
      <title>Re: Clean All Filter Inputs With A Button?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Clean-All-Filter-Inputs-With-A-Button/m-p/173474#M10768</link>
      <description>&lt;P&gt;You can create an html link and set the target to same view with default values for token. see this run anywhere sample.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;form&amp;gt;
  &amp;lt;label&amp;gt;Dynamic Source&amp;lt;/label&amp;gt;
  &amp;lt;fieldset autoRun="true" submitButton="false"&amp;gt;
    &amp;lt;input type="dropdown" token="sourcetype" searchWhenChanged="true"&amp;gt;
      &amp;lt;label&amp;gt;Sourcetype&amp;lt;/label&amp;gt;
      &amp;lt;choice value="*"&amp;gt;All&amp;lt;/choice&amp;gt;
      &amp;lt;default&amp;gt;*&amp;lt;/default&amp;gt;
      &amp;lt;populatingSearch fieldForValue="sourcetype" fieldForLabel="sourcetype"&amp;gt;
        &amp;lt;![CDATA[index=_internal earliest=-1h@h | stats count by sourcetype | table sourcetype ]]&amp;gt;
      &amp;lt;/populatingSearch&amp;gt;
    &amp;lt;/input&amp;gt;
    &amp;lt;input type="dropdown" token="source" searchWhenChanged="true"&amp;gt;
      &amp;lt;label&amp;gt;Source&amp;lt;/label&amp;gt;
      &amp;lt;choice value="*"&amp;gt;All&amp;lt;/choice&amp;gt;
      &amp;lt;default&amp;gt;*&amp;lt;/default&amp;gt;
      &amp;lt;populatingSearch fieldForValue="source" fieldForLabel="source"&amp;gt;
        &amp;lt;![CDATA[index=_internal earliest=-1h@h | stats count by source | table source ]]&amp;gt;
      &amp;lt;/populatingSearch&amp;gt;
    &amp;lt;/input&amp;gt;
    &amp;lt;html id="field10"&amp;gt;
      &amp;lt;body&amp;gt;
      &amp;lt;a href="DynamicSource?form.sourcetype=*&amp;amp;amp;form.source=*" style="margin-left:0px"&amp;gt;Reset&amp;lt;/a&amp;gt;      
      &amp;lt;p /&amp;gt; 
      &amp;lt;/body&amp;gt;
  &amp;lt;/html&amp;gt;

  &amp;lt;/fieldset&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;table&amp;gt;
      &amp;lt;title&amp;gt;Top 5 source&amp;lt;/title&amp;gt;
      &amp;lt;searchString&amp;gt;index=_internal sourcetype="$sourcetype$"  source="$source$"  | timechart count&amp;lt;/searchString&amp;gt;
      &amp;lt;earliestTime&amp;gt;-1h&amp;lt;/earliestTime&amp;gt;
      &amp;lt;latestTime&amp;gt;now&amp;lt;/latestTime&amp;gt;
      &amp;lt;option name="wrap"&amp;gt;true&amp;lt;/option&amp;gt;
      &amp;lt;option name="rowNumbers"&amp;gt;false&amp;lt;/option&amp;gt;
      &amp;lt;option name="dataOverlayMode"&amp;gt;none&amp;lt;/option&amp;gt;
      &amp;lt;option name="drilldown"&amp;gt;cell&amp;lt;/option&amp;gt;
      &amp;lt;option name="count"&amp;gt;10&amp;lt;/option&amp;gt;
    &amp;lt;/table&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/form&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 07 Aug 2014 15:11:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Clean-All-Filter-Inputs-With-A-Button/m-p/173474#M10768</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-08-07T15:11:01Z</dc:date>
    </item>
    <item>
      <title>Re: Clean All Filter Inputs With A Button?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Clean-All-Filter-Inputs-With-A-Button/m-p/173475#M10769</link>
      <description>&lt;P&gt;I was trying to do the same , but on clicking on reset , it opened up a Page -"Page not found "&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jan 2016 21:43:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Clean-All-Filter-Inputs-With-A-Button/m-p/173475#M10769</guid>
      <dc:creator>sreelesh_n</dc:creator>
      <dc:date>2016-01-11T21:43:37Z</dc:date>
    </item>
    <item>
      <title>Re: Clean All Filter Inputs With A Button?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Clean-All-Filter-Inputs-With-A-Button/m-p/173476#M10770</link>
      <description>&lt;P&gt;This works for me, however is there a way of resetting without reloading the whole page?&lt;/P&gt;</description>
      <pubDate>Wed, 05 Oct 2016 17:14:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Clean-All-Filter-Inputs-With-A-Button/m-p/173476#M10770</guid>
      <dc:creator>zevg</dc:creator>
      <dc:date>2016-10-05T17:14:06Z</dc:date>
    </item>
    <item>
      <title>Re: Clean All Filter Inputs With A Button?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Clean-All-Filter-Inputs-With-A-Button/m-p/173477#M10771</link>
      <description>&lt;P&gt;Probably not without using JavaScript.  &lt;/P&gt;

&lt;P&gt;You would need to iterate through the list of tokens to find those that start with "form.", find the mvc Component for the corresponding element, get the default value, set the "form." token to the default value,  and submit. &lt;/P&gt;</description>
      <pubDate>Wed, 05 Oct 2016 17:52:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Clean-All-Filter-Inputs-With-A-Button/m-p/173477#M10771</guid>
      <dc:creator>rjthibod</dc:creator>
      <dc:date>2016-10-05T17:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: Clean All Filter Inputs With A Button?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Clean-All-Filter-Inputs-With-A-Button/m-p/173478#M10772</link>
      <description>&lt;P&gt;When I add the HTML section to the FIELDSET it is presented on a new line instead of the row with other INPUTS . Anyway to keep HTML on same row with other INPUTs ?&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jan 2019 16:23:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Clean-All-Filter-Inputs-With-A-Button/m-p/173478#M10772</guid>
      <dc:creator>simpkins1958</dc:creator>
      <dc:date>2019-01-09T16:23:02Z</dc:date>
    </item>
  </channel>
</rss>

