<?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: How to exclude results from a saved search in a dashboard using a checkbox? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-exclude-results-from-a-saved-search-in-a-dashboard-using/m-p/319174#M20576</link>
    <description>&lt;P&gt;I will mark it answered since you did hit on the key issue of the unset token when using the check box make it unusable. &lt;/P&gt;</description>
    <pubDate>Mon, 27 Feb 2017 12:58:49 GMT</pubDate>
    <dc:creator>snix</dc:creator>
    <dc:date>2017-02-27T12:58:49Z</dc:date>
    <item>
      <title>How to exclude results from a saved search in a dashboard using a checkbox?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-exclude-results-from-a-saved-search-in-a-dashboard-using/m-p/319169#M20571</link>
      <description>&lt;P&gt;I have a saved search that shows IIS logs on a dashboard, it can be a bit verbose depending on the use case. I would like to have an on/off input that would allow the user to filter out some of the non-relevant logs. I figured the checkbox input would make the most sense but I am having issues wrapping my head around how it works and am starting to wander if it is the best option for this solution.&lt;/P&gt;

&lt;P&gt;Whatever option I would use would just need to be able to by default filter nothing but if selected add a string into the search for example:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;Default off: InputVariable="HTTPStatusCode=*"&lt;/CODE&gt;&lt;BR /&gt;
&lt;CODE&gt;Turned on: InputVariable="HTTPStatusCode!=200"&lt;/CODE&gt;&lt;BR /&gt;
&lt;CODE&gt;search index=iis $InputVariable$| table field1, field2, field3&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 26 Feb 2017 19:48:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-exclude-results-from-a-saved-search-in-a-dashboard-using/m-p/319169#M20571</guid>
      <dc:creator>snix</dc:creator>
      <dc:date>2017-02-26T19:48:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to exclude results from a saved search in a dashboard using a checkbox?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-exclude-results-from-a-saved-search-in-a-dashboard-using/m-p/319170#M20572</link>
      <description>&lt;P&gt;You could use something like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;input type="radio" token="field1"&amp;gt;
  &amp;lt;choice value="HTTPStatusCode=*"&amp;gt;show&amp;lt;/choice&amp;gt;
  &amp;lt;choice value="HTTPStatusCode!=200"&amp;gt;hide&amp;lt;/choice&amp;gt;
&amp;lt;/input&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;With a one-option checkbox, the unchecked state would leave the token unset - causing the search to wait for input. A radio input is always set, at least when you define an initial/default value.&lt;/P&gt;</description>
      <pubDate>Sun, 26 Feb 2017 21:10:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-exclude-results-from-a-saved-search-in-a-dashboard-using/m-p/319170#M20572</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2017-02-26T21:10:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to exclude results from a saved search in a dashboard using a checkbox?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-exclude-results-from-a-saved-search-in-a-dashboard-using/m-p/319171#M20573</link>
      <description>&lt;P&gt;@martin_mueller I tried your suggestion but ran into the issue of unchecking the radio button, it appears to not be an option so I tried the dropdown and got it to work for what I need. Just wish I would have been able to use the checkbox &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; &lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2017 01:02:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-exclude-results-from-a-saved-search-in-a-dashboard-using/m-p/319171#M20573</guid>
      <dc:creator>snix</dc:creator>
      <dc:date>2017-02-27T01:02:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to exclude results from a saved search in a dashboard using a checkbox?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-exclude-results-from-a-saved-search-in-a-dashboard-using/m-p/319172#M20574</link>
      <description>&lt;P&gt;You can't uncheck a radio button, but you can select the second option to unselect the first option.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2017 08:10:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-exclude-results-from-a-saved-search-in-a-dashboard-using/m-p/319172#M20574</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2017-02-27T08:10:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to exclude results from a saved search in a dashboard using a checkbox?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-exclude-results-from-a-saved-search-in-a-dashboard-using/m-p/319173#M20575</link>
      <description>&lt;P&gt;I figured as much but for some reason I didn't like the idea of dealing with two inputs when I could set it to deal with only one. So I avoided looking down that path and just trying the dropdown, figured it would then give me room for more filter options in the future if I think of some more. &lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2017 12:56:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-exclude-results-from-a-saved-search-in-a-dashboard-using/m-p/319173#M20575</guid>
      <dc:creator>snix</dc:creator>
      <dc:date>2017-02-27T12:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to exclude results from a saved search in a dashboard using a checkbox?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-exclude-results-from-a-saved-search-in-a-dashboard-using/m-p/319174#M20576</link>
      <description>&lt;P&gt;I will mark it answered since you did hit on the key issue of the unset token when using the check box make it unusable. &lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2017 12:58:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-exclude-results-from-a-saved-search-in-a-dashboard-using/m-p/319174#M20576</guid>
      <dc:creator>snix</dc:creator>
      <dc:date>2017-02-27T12:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to exclude results from a saved search in a dashboard using a checkbox?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-exclude-results-from-a-saved-search-in-a-dashboard-using/m-p/319175#M20577</link>
      <description>&lt;P&gt;That radio input is one input with two options &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2017 13:20:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-exclude-results-from-a-saved-search-in-a-dashboard-using/m-p/319175#M20577</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2017-02-27T13:20:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to exclude results from a saved search in a dashboard using a checkbox?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-exclude-results-from-a-saved-search-in-a-dashboard-using/m-p/319176#M20578</link>
      <description>&lt;P&gt;Oh I thought I would need to add a second radio button and tie them together, that makes more sense I will take another look at it then and see what it can do.&lt;/P&gt;

&lt;P&gt;Thank You!&lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2017 13:22:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-exclude-results-from-a-saved-search-in-a-dashboard-using/m-p/319176#M20578</guid>
      <dc:creator>snix</dc:creator>
      <dc:date>2017-02-27T13:22:58Z</dc:date>
    </item>
  </channel>
</rss>

