<?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: Using more than one dropdown menu for the same search in Reporting</title>
    <link>https://community.splunk.com/t5/Reporting/Using-more-than-one-dropdown-menu-for-the-same-search/m-p/512395#M8313</link>
    <description>&lt;P&gt;&lt;STRONG&gt;ResourceTitle="$dropdown_token$" &amp;nbsp;OR ResourceTitle="$field1$"&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 04 Aug 2020 14:59:17 GMT</pubDate>
    <dc:creator>thambisetty</dc:creator>
    <dc:date>2020-08-04T14:59:17Z</dc:date>
    <item>
      <title>Using more than one dropdown menu for the same search</title>
      <link>https://community.splunk.com/t5/Reporting/Using-more-than-one-dropdown-menu-for-the-same-search/m-p/512393#M8312</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm trying to configure two different dropdown menus - the idea is to give option to the user, either he picks a value from the first dropdown (all videos - $dropdown_token$) OR he picks one of the top 10 ($field1$).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="marinalalves_0-1596552023136.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/10035i55E49BD295A9E802/image-size/medium?v=v2&amp;amp;px=400" role="button" title="marinalalves_0-1596552023136.png" alt="marinalalves_0-1596552023136.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem is I don't seem to know how to insert this information on my visuals - the dashboard keeps running only if I select the first option/dropdown menu.&lt;BR /&gt;&lt;BR /&gt;I tried different ways of writing the query, such as:&lt;/P&gt;&lt;P&gt;&amp;lt;panel&amp;gt;&lt;BR /&gt;&amp;lt;single&amp;gt;&lt;BR /&gt;&amp;lt;title&amp;gt;Unique Viewers&amp;lt;/title&amp;gt;&lt;BR /&gt;&amp;lt;search&amp;gt;&lt;BR /&gt;&amp;lt;query&amp;gt;index=index Operation="views"&lt;BR /&gt;&lt;STRONG&gt;| search ResourceTitle="$dropdown_token$","$field1$"&lt;/STRONG&gt;&lt;BR /&gt;|stats distinct_count(UserId)&amp;lt;/query&amp;gt;&lt;BR /&gt;&amp;lt;earliest&amp;gt;$picktime_token.earliest$&amp;lt;/earliest&amp;gt;&lt;BR /&gt;&amp;lt;latest&amp;gt;$picktime_token.latest$&amp;lt;/latest&amp;gt;&lt;BR /&gt;&amp;lt;sampleRatio&amp;gt;1&amp;lt;/sampleRatio&amp;gt;&lt;BR /&gt;&amp;lt;/search&amp;gt;&lt;/P&gt;&lt;P&gt;I also tried&amp;nbsp;&lt;STRONG&gt;| search ResourceTitle="$dropdown_token$" OR "$field1$"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I know it's a beginners question but I appreciate if you could help me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;THanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Aug 2020 14:47:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Using-more-than-one-dropdown-menu-for-the-same-search/m-p/512393#M8312</guid>
      <dc:creator>marinalalves</dc:creator>
      <dc:date>2020-08-04T14:47:01Z</dc:date>
    </item>
    <item>
      <title>Re: Using more than one dropdown menu for the same search</title>
      <link>https://community.splunk.com/t5/Reporting/Using-more-than-one-dropdown-menu-for-the-same-search/m-p/512395#M8313</link>
      <description>&lt;P&gt;&lt;STRONG&gt;ResourceTitle="$dropdown_token$" &amp;nbsp;OR ResourceTitle="$field1$"&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Aug 2020 14:59:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Using-more-than-one-dropdown-menu-for-the-same-search/m-p/512395#M8313</guid>
      <dc:creator>thambisetty</dc:creator>
      <dc:date>2020-08-04T14:59:17Z</dc:date>
    </item>
    <item>
      <title>Re: Using more than one dropdown menu for the same search</title>
      <link>https://community.splunk.com/t5/Reporting/Using-more-than-one-dropdown-menu-for-the-same-search/m-p/512518#M8318</link>
      <description>&lt;P&gt;I tried but it doesn't work - visuals keep waiting for the query to run.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Aug 2020 08:44:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Using-more-than-one-dropdown-menu-for-the-same-search/m-p/512518#M8318</guid>
      <dc:creator>marinalalves</dc:creator>
      <dc:date>2020-08-05T08:44:51Z</dc:date>
    </item>
    <item>
      <title>Re: Using more than one dropdown menu for the same search</title>
      <link>https://community.splunk.com/t5/Reporting/Using-more-than-one-dropdown-menu-for-the-same-search/m-p/512524#M8319</link>
      <description>&lt;P&gt;sample:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;form&amp;gt;
  &amp;lt;label&amp;gt;double dropdown&amp;lt;/label&amp;gt;
  &amp;lt;fieldset submitButton="false"&amp;gt;
    &amp;lt;input type="dropdown" token="dropdown_token"&amp;gt;
      &amp;lt;label&amp;gt;dropdown1&amp;lt;/label&amp;gt;
      &amp;lt;fieldForLabel&amp;gt;label&amp;lt;/fieldForLabel&amp;gt;
      &amp;lt;fieldForValue&amp;gt;sourcetype&amp;lt;/fieldForValue&amp;gt;
      &amp;lt;search&amp;gt;
        &amp;lt;query&amp;gt;| tstats count where index=_internal by sourcetype
| table sourcetype
| eval label=sourcetype&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;/input&amp;gt;
    &amp;lt;input type="dropdown" token="field1"&amp;gt;
      &amp;lt;label&amp;gt;dropdown2&amp;lt;/label&amp;gt;
      &amp;lt;fieldForLabel&amp;gt;label&amp;lt;/fieldForLabel&amp;gt;
      &amp;lt;fieldForValue&amp;gt;sourcetype&amp;lt;/fieldForValue&amp;gt;
      &amp;lt;search&amp;gt;
        &amp;lt;query&amp;gt;| tstats count where index=_internal by sourcetype
| table sourcetype
| eval label=sourcetype&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;/input&amp;gt;
    &amp;lt;input type="time" token="field3"&amp;gt;
      &amp;lt;label&amp;gt;&amp;lt;/label&amp;gt;
      &amp;lt;default&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;/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;event&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;index=_internal sourcetype=$dropdown_token$ OR sourcetype=$field1$ | head 100&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;0&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;&amp;lt;/latest&amp;gt;
          &amp;lt;sampleRatio&amp;gt;1&amp;lt;/sampleRatio&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="count"&amp;gt;20&amp;lt;/option&amp;gt;
        &amp;lt;option name="type"&amp;gt;list&amp;lt;/option&amp;gt;
      &amp;lt;/event&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/form&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;your simpleXML is something wrong.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Aug 2020 09:09:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Using-more-than-one-dropdown-menu-for-the-same-search/m-p/512524#M8319</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-08-05T09:09:04Z</dc:date>
    </item>
  </channel>
</rss>

