<?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: Is it possible to turn a dashboard input either on or off? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Is-it-possible-to-turn-a-dashboard-input-either-on-or-off/m-p/473834#M31112</link>
    <description>&lt;P&gt;You mean you need to dynamically populate the check box options?&lt;/P&gt;</description>
    <pubDate>Wed, 19 Feb 2020 00:49:22 GMT</pubDate>
    <dc:creator>alonsocaio</dc:creator>
    <dc:date>2020-02-19T00:49:22Z</dc:date>
    <item>
      <title>Is it possible to turn a dashboard input either on or off?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Is-it-possible-to-turn-a-dashboard-input-either-on-or-off/m-p/473831#M31109</link>
      <description>&lt;P&gt;I have an inventory dashboard. I'd like to have a checkbox to "show these items only". &lt;BR /&gt;
My thinking is, when checked, the search will be applied. when unchecked, the search will be ignored. hope that makes sense.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Feb 2020 18:09:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Is-it-possible-to-turn-a-dashboard-input-either-on-or-off/m-p/473831#M31109</guid>
      <dc:creator>dbagdanoff</dc:creator>
      <dc:date>2020-02-18T18:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to turn a dashboard input either on or off?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Is-it-possible-to-turn-a-dashboard-input-either-on-or-off/m-p/473832#M31110</link>
      <description>&lt;P&gt;Hey, I don't know if this is exactly what you wanted, but I hope It helps you.&lt;/P&gt;

&lt;P&gt;I have created a dashboard containing two checkboxes, one returns all of my deployments, and the other one returns just AWS hosts (The "All" check box is the default one).&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/8407i6A53B0010CA247FE/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;If I select the "AWS" check box I will have as results just my AWS hosts:&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/8408i570D15F607A54E1C/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Below is my dashboard source code:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;form&amp;gt;
  &amp;lt;label&amp;gt;Assets&amp;lt;/label&amp;gt;
  &amp;lt;fieldset submitButton="false"&amp;gt;
    &amp;lt;input type="checkbox" token="deployment" searchWhenChanged="true"&amp;gt;
      &amp;lt;label&amp;gt;Deployment&amp;lt;/label&amp;gt;
      &amp;lt;choice value="*"&amp;gt;All&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="aws"&amp;gt;AWS&amp;lt;/choice&amp;gt;
      &amp;lt;search&amp;gt;
        &amp;lt;query/&amp;gt;
        &amp;lt;earliest&amp;gt;-24h@h&amp;lt;/earliest&amp;gt;
        &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
      &amp;lt;/search&amp;gt;
      &amp;lt;delimiter&amp;gt; &amp;lt;/delimiter&amp;gt;
      &amp;lt;default&amp;gt;*&amp;lt;/default&amp;gt;
    &amp;lt;/input&amp;gt;
  &amp;lt;/fieldset&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;table&amp;gt;
        &amp;lt;title&amp;gt;Assets&amp;lt;/title&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;index=answers source=assets.csv deployment=$deployment$
| table hostname, os, deployment&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;-24h@h&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="drilldown"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="refresh.display"&amp;gt;progressbar&amp;lt;/option&amp;gt;
      &amp;lt;/table&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/form&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 18 Feb 2020 23:54:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Is-it-possible-to-turn-a-dashboard-input-either-on-or-off/m-p/473832#M31110</guid>
      <dc:creator>alonsocaio</dc:creator>
      <dc:date>2020-02-18T23:54:16Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to turn a dashboard input either on or off?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Is-it-possible-to-turn-a-dashboard-input-either-on-or-off/m-p/473833#M31111</link>
      <description>&lt;P&gt;i need to run a search for my "aws" choice. i have no common value to use. hope that makes sense. thanks for the reply!&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2020 00:31:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Is-it-possible-to-turn-a-dashboard-input-either-on-or-off/m-p/473833#M31111</guid>
      <dc:creator>dbagdanoff</dc:creator>
      <dc:date>2020-02-19T00:31:17Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to turn a dashboard input either on or off?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Is-it-possible-to-turn-a-dashboard-input-either-on-or-off/m-p/473834#M31112</link>
      <description>&lt;P&gt;You mean you need to dynamically populate the check box options?&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2020 00:49:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Is-it-possible-to-turn-a-dashboard-input-either-on-or-off/m-p/473834#M31112</guid>
      <dc:creator>alonsocaio</dc:creator>
      <dc:date>2020-02-19T00:49:22Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to turn a dashboard input either on or off?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Is-it-possible-to-turn-a-dashboard-input-either-on-or-off/m-p/473835#M31113</link>
      <description>&lt;P&gt;If that case, you can populate your check box options like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;fieldset submitButton="false"&amp;gt;
    &amp;lt;input type="checkbox" token="deployment" searchWhenChanged="true"&amp;gt;
      &amp;lt;label&amp;gt;Deployment&amp;lt;/label&amp;gt;
      &amp;lt;choice value="*"&amp;gt;All&amp;lt;/choice&amp;gt;
      &amp;lt;search&amp;gt;
        &amp;lt;query&amp;gt;index=answers source=assets.csv
| dedup deployment
| table deployment&amp;lt;/query&amp;gt;
        &amp;lt;earliest&amp;gt;-24h@h&amp;lt;/earliest&amp;gt;
        &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
      &amp;lt;/search&amp;gt;
      &amp;lt;delimiter&amp;gt; &amp;lt;/delimiter&amp;gt;
      &amp;lt;default&amp;gt;*&amp;lt;/default&amp;gt;
      &amp;lt;fieldForLabel&amp;gt;deployment&amp;lt;/fieldForLabel&amp;gt;
      &amp;lt;fieldForValue&amp;gt;deployment&amp;lt;/fieldForValue&amp;gt;
    &amp;lt;/input&amp;gt;
  &amp;lt;/fieldset&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 19 Feb 2020 00:58:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Is-it-possible-to-turn-a-dashboard-input-either-on-or-off/m-p/473835#M31113</guid>
      <dc:creator>alonsocaio</dc:creator>
      <dc:date>2020-02-19T00:58:35Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to turn a dashboard input either on or off?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Is-it-possible-to-turn-a-dashboard-input-either-on-or-off/m-p/473836#M31114</link>
      <description>&lt;P&gt;this is what I'm doing now. its giving me a list checkboxes with the values my search returns. while it works, it does not look good lol. &lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2020 15:58:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Is-it-possible-to-turn-a-dashboard-input-either-on-or-off/m-p/473836#M31114</guid>
      <dc:creator>dbagdanoff</dc:creator>
      <dc:date>2020-02-19T15:58:55Z</dc:date>
    </item>
  </channel>
</rss>

