<?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: Store search results in token and form token. in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-store-search-results-in-token-and-form-token/m-p/598219#M49057</link>
    <description>&lt;P&gt;There doesn't appear to be anything wrong with this code snippet so form.shardToken is probably being overwritten elsewhere in your dashboard.&lt;/P&gt;</description>
    <pubDate>Wed, 18 May 2022 04:55:54 GMT</pubDate>
    <dc:creator>ITWhisperer</dc:creator>
    <dc:date>2022-05-18T04:55:54Z</dc:date>
    <item>
      <title>How to store search results in token and form token?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-store-search-results-in-token-and-form-token/m-p/597306#M48966</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I have a dashboard that has a multi-select dropdown that contains a list of all database names.&lt;/P&gt;
&lt;P&gt;When the dashboard is first run, the token that would hold the database name if a selection was made in the dropdown is set to * so all database events are read. Only the top 5 are returned.&lt;/P&gt;
&lt;P&gt;My query looks like this:&lt;BR /&gt;&lt;BR /&gt;index=whatever shard IN ("*")&amp;nbsp;&lt;BR /&gt;| chart count as result by shard&lt;BR /&gt;| sort -result&lt;BR /&gt;| head 5&lt;/P&gt;
&lt;P&gt;So say the display panel shows results for these databases.&lt;/P&gt;
&lt;P&gt;229, 290, 112, 273, 242&lt;/P&gt;
&lt;P&gt;I want to set the dropdown labelled Shards form token "form.shardToken" to the list of databases returned as well as updating the token shardToken with the same list of databases.&lt;BR /&gt;&lt;BR /&gt;Hopefully that all makes sense.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Shards.png" style="width: 736px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/19570iBBDF3A49650DD594/image-size/large?v=v2&amp;amp;px=999" role="button" title="Shards.png" alt="Shards.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2022 23:21:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-store-search-results-in-token-and-form-token/m-p/597306#M48966</guid>
      <dc:creator>jprovenzale</dc:creator>
      <dc:date>2022-05-11T23:21:55Z</dc:date>
    </item>
    <item>
      <title>Re: Store search results in token and form token</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-store-search-results-in-token-and-form-token/m-p/597326#M48967</link>
      <description>&lt;P&gt;shardToken will normally be set based on the selection from the dropdown.&amp;nbsp; Do you want the full list of databases stored in another token (which isn't changed by the selection), or do you want the value of * to be the full (or partial / top 5) list?&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2022 08:01:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-store-search-results-in-token-and-form-token/m-p/597326#M48967</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-05-11T08:01:54Z</dc:date>
    </item>
    <item>
      <title>Re: Store search results in token and form token</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-store-search-results-in-token-and-form-token/m-p/597327#M48968</link>
      <description>&lt;P&gt;When the dashboard first runs, it checks all databases and returns the top 5.&lt;/P&gt;&lt;P&gt;I want the list of databases returned set to the dropdown form.shardToken as if they had been selected by the user and the actual token, shardToken, also set to the same returned list.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2022 08:10:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-store-search-results-in-token-and-form-token/m-p/597327#M48968</guid>
      <dc:creator>jprovenzale</dc:creator>
      <dc:date>2022-05-11T08:10:02Z</dc:date>
    </item>
    <item>
      <title>Re: Store search results in token and form token</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-store-search-results-in-token-and-form-token/m-p/597334#M48970</link>
      <description>&lt;P&gt;Create a search at the top of the dashboard (not associated with a panel)&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=whatever shard IN ("*") 
| chart count as result by shard
| sort -result
| head 5
| stats values(shard) as shard&lt;/LI-CODE&gt;&lt;P&gt;Add this done handler to set the form token based on the results of the search&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;done&amp;gt;
  &amp;lt;eval token="form.shardToken"&amp;gt;$result.shard$&amp;lt;/eval&amp;gt;
&amp;lt;/done&amp;gt;&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 11 May 2022 08:25:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-store-search-results-in-token-and-form-token/m-p/597334#M48970</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-05-11T08:25:52Z</dc:date>
    </item>
    <item>
      <title>Re: Store search results in token and form token</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-store-search-results-in-token-and-form-token/m-p/597496#M48978</link>
      <description>&lt;P&gt;Ok, I've done that but am receiving a warning as shown in the screenshot.&lt;/P&gt;&lt;P&gt;Is "init" a good place for the search and where should the done handler exist?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2022-05-12 at 8.56.56 am.png" style="width: 778px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/19600iFEF06B30AD505730/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screen Shot 2022-05-12 at 8.56.56 am.png" alt="Screen Shot 2022-05-12 at 8.56.56 am.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2022 23:02:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-store-search-results-in-token-and-form-token/m-p/597496#M48978</guid>
      <dc:creator>jprovenzale</dc:creator>
      <dc:date>2022-05-11T23:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: Store search results in token and form token</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-store-search-results-in-token-and-form-token/m-p/597505#M48979</link>
      <description>&lt;P&gt;No, an init block might contain token setting not searches&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;form theme="light"&amp;gt;
  &amp;lt;label&amp;gt;&amp;lt;/label&amp;gt;
  &amp;lt;description&amp;gt;&amp;lt;/description&amp;gt;
  &amp;lt;search&amp;gt;
    &amp;lt;query&amp;gt;
your search
    &amp;lt;/query&amp;gt;
    &amp;lt;done&amp;gt;
done handling
    &amp;lt;/done&amp;gt;
  &amp;lt;/search&amp;gt;
  &amp;lt;init&amp;gt;
token setting
  &amp;lt;/init&amp;gt;
  &amp;lt;fieldset submitButton="false" autoRun="false"&amp;gt;
input definitions
etc.&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 12 May 2022 04:24:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-store-search-results-in-token-and-form-token/m-p/597505#M48979</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-05-12T04:24:21Z</dc:date>
    </item>
    <item>
      <title>Re: Store search results in token and form token</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-store-search-results-in-token-and-form-token/m-p/597514#M48981</link>
      <description>&lt;P&gt;Thanks very much for your help so far.&lt;BR /&gt;&lt;BR /&gt;I have made the changes and all warnings have cleared.&lt;BR /&gt;But no data is returned.&lt;/P&gt;&lt;P&gt;When I run the search in a search window, it DOES return the top 5 shards.&lt;BR /&gt;So something in the return assignment is not right. Code looks like this:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;lt;form theme="dark"&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;label&amp;gt;Troubleshooting Dashboard&amp;lt;/label&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;description&amp;gt;=======================================================&amp;lt;/description&amp;gt;&amp;nbsp; &amp;nbsp;&amp;lt;search&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;query&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;index=whatever shard IN ("*")&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| chart count as result by shard&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| sort -result&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| head 5&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| stats values(shard) as returnshards&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/query&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;done&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;eval token="form.shardToken"&amp;gt;$result.returnshards$&amp;lt;/eval&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/done&amp;gt; &lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&amp;nbsp; &amp;lt;/search&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;init&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;set token="accountToken"&amp;gt;"*"&amp;lt;/set&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;set token="accountselectedToken"&amp;gt;False&amp;lt;/set&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;set token="shardToken"&amp;gt;$form.shardToken$&amp;lt;/set&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/init&amp;gt;&lt;BR /&gt;&amp;lt;fieldset submitButton="true" autoRun="true"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 May 2022 05:21:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-store-search-results-in-token-and-form-token/m-p/597514#M48981</guid>
      <dc:creator>jprovenzale</dc:creator>
      <dc:date>2022-05-12T05:21:56Z</dc:date>
    </item>
    <item>
      <title>Re: Store search results in token and form token</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-store-search-results-in-token-and-form-token/m-p/597515#M48982</link>
      <description>&lt;P&gt;It is not clear what else might be wrong since you haven't provided the rest of the dashboard. Having said that, try using eval instead of set&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;eval token="shardToken"&amp;gt;$form.shardToken$&amp;lt;/eval&amp;gt;&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 12 May 2022 05:37:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-store-search-results-in-token-and-form-token/m-p/597515#M48982</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-05-12T05:37:53Z</dc:date>
    </item>
    <item>
      <title>Re: Store search results in token and form token</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-store-search-results-in-token-and-form-token/m-p/597516#M48983</link>
      <description>&lt;P&gt;I attempted to change set to eval with no luck.&lt;/P&gt;&lt;P&gt;I can provide the whole dashboard if you think it would help, but&amp;nbsp; I see the issue in the &amp;lt;done&amp;gt; handler.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The query is fine as I can run it successfully in a search window, so there is a disconnect between the query statement :&lt;BR /&gt;&lt;BR /&gt;| stats values(shard) as returnshards&lt;/P&gt;&lt;P&gt;and&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;done&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;eval token="form.shardToken"&amp;gt;$result.returnshards$&amp;lt;/eval&amp;gt;&lt;BR /&gt;&amp;lt;/done&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if you need the full dashboard, please let me know.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 May 2022 06:12:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-store-search-results-in-token-and-form-token/m-p/597516#M48983</guid>
      <dc:creator>jprovenzale</dc:creator>
      <dc:date>2022-05-12T06:12:40Z</dc:date>
    </item>
    <item>
      <title>Re: Store search results in token and form token</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-store-search-results-in-token-and-form-token/m-p/597517#M48984</link>
      <description>&lt;P&gt;The full dashboard would be helpful or at least all the relevant parts.&lt;/P&gt;</description>
      <pubDate>Thu, 12 May 2022 06:17:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-store-search-results-in-token-and-form-token/m-p/597517#M48984</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-05-12T06:17:23Z</dc:date>
    </item>
    <item>
      <title>Re: Store search results in token and form token.</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-store-search-results-in-token-and-form-token/m-p/597699#M48991</link>
      <description>&lt;P&gt;Ok.&lt;/P&gt;&lt;P&gt;Full dashboard below, with all sensitive bits changed and a couple of panels removed because of 20000 ch limit.&lt;/P&gt;&lt;P class=""&gt;&amp;lt;form theme="dark"&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;label&amp;gt;Troubleshooting Dashboard&amp;lt;/label&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;description&amp;gt;==============================================================&amp;lt;/description&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;search&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;query&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;index=whatever shard IN ("*") | search shard!=0 AND shard!=-1&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;| chart count as result by shard&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;| sort -result&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;| head 5&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;| stats values(shard) as returnshards&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;/query&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;done&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;eval token="form.shardToken"&amp;gt;$result.returnshards$&amp;lt;/eval&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;/done&amp;gt; &lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;/search&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;init&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;set token="accountToken"&amp;gt;"*"&amp;lt;/set&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;set token="accountselectedToken"&amp;gt;False&amp;lt;/set&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;set token="shardToken"&amp;gt;$form.shardToken$&amp;lt;/set&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;/init&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;fieldset submitButton="true" autoRun="true"&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;input type="multiselect" token="shardToken" searchWhenChanged="false"&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;label&amp;gt;Shards&amp;lt;/label&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;delimiter&amp;gt;,&amp;lt;/delimiter&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;fieldForLabel&amp;gt;shardaccount&amp;lt;/fieldForLabel&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;fieldForValue&amp;gt;shard&amp;lt;/fieldForValue&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;search&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;query&amp;gt;| inputlookup ShardList.csv&lt;/P&gt;&lt;P class=""&gt;| eval shardaccount=shard + " - " + account&amp;lt;/query&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;earliest&amp;gt;@d&amp;lt;/earliest&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;/search&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;change&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;condition match="$accountselectedToken$==&amp;amp;quot;True&amp;amp;quot;"&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;set token="accountselectedToken"&amp;gt;False&amp;lt;/set&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;/condition&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;condition&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;set token="accountToken"&amp;gt;"*"&amp;lt;/set&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;/condition&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;/change&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;/input&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;input type="time" token="TimeRange" searchWhenChanged="false"&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;label&amp;gt;Time Range&amp;lt;/label&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;default&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;earliest&amp;gt;-15m&amp;lt;/earliest&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;/default&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;/input&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;input type="checkbox" token="debugToken" searchWhenChanged="true"&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;label&amp;gt;&amp;lt;/label&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;choice value="1"&amp;gt;Show Debug Panel&amp;lt;/choice&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;/input&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;/fieldset&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;row&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;panel depends="$debugToken$"&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;title&amp;gt;Token Debug&amp;lt;/title&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;html&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;h2&amp;gt;Shard token = $shardToken$&amp;lt;/h2&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;h2&amp;gt;Account token = $accountToken$&amp;lt;/h2&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;h2&amp;gt;Account selected token = $accountselectedToken$&amp;lt;/h2&amp;gt; &lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;h2&amp;gt;Debug token = $debugToken$&amp;lt;/h2&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;h2&amp;gt;Form token = $form.shardToken$&amp;lt;/h2&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;h2&amp;gt;Returned shards = $result.returnshards$&amp;lt;/h2&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;/html&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;/panel&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;/row&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;row&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;panel&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;title&amp;gt;Events Count By Shard Descending&amp;lt;/title&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;chart&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;search&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;query&amp;gt;index=whatever shard IN ($shardToken$) | search shard!=0 AND shard!=-1&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;| chart count as result by shard&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;| sort -result&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;| head 5&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;/query&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;earliest&amp;gt;$TimeRange.earliest$&amp;lt;/earliest&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;latest&amp;gt;$TimeRange.latest$&amp;lt;/latest&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;/search&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;option name="charting.axisTitleX.text"&amp;gt;shards&amp;lt;/option&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;option name="charting.axisTitleX.visibility"&amp;gt;visible&amp;lt;/option&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;option name="charting.axisTitleY.text"&amp;gt;Event Range&amp;lt;/option&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;option name="charting.axisTitleY.visibility"&amp;gt;collapsed&amp;lt;/option&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;option name="charting.chart"&amp;gt;column&amp;lt;/option&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;option name="charting.chart.showDataLabels"&amp;gt;all&amp;lt;/option&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;option name="charting.drilldown"&amp;gt;all&amp;lt;/option&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;option name="charting.legend.labelStyle.overflowMode"&amp;gt;ellipsisEnd&amp;lt;/option&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;option name="charting.legend.placement"&amp;gt;none&amp;lt;/option&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;option name="refresh.display"&amp;gt;preview&amp;lt;/option&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;drilldown&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;set token="shardToken"&amp;gt;$click.value$&amp;lt;/set&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;set token="form.shardToken"&amp;gt;$click.value$&amp;lt;/set&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;/drilldown&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;/chart&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;/panel&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;panel&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;title&amp;gt;Accounts&amp;lt;/title&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;table&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;search&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;query&amp;gt;index=whatever shard IN ($shardToken$) | search shard!=0 AND shard!=-1&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;| spath account&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;| search account=$accountToken$&lt;/P&gt;&lt;P class=""&gt;| where account!=0&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;| top limit=5 account by shard&lt;/P&gt;&lt;P class=""&gt;| sort - count&amp;lt;/query&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;earliest&amp;gt;$TimeRange.earliest$&amp;lt;/earliest&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;latest&amp;gt;$TimeRange.latest$&amp;lt;/latest&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;/search&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;option name="drilldown"&amp;gt;cell&amp;lt;/option&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;drilldown&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;set token="form.shardToken"&amp;gt;$click.value$&amp;lt;/set&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;set token="shardToken"&amp;gt;$click.value$&amp;lt;/set&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;set token="accountToken"&amp;gt;$click.value2$&amp;lt;/set&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;set token="accountselectedToken"&amp;gt;True&amp;lt;/set&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;/drilldown&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;/table&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;/panel&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;panel&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;title&amp;gt;Endpoints&amp;lt;/title&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;chart&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;search&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;query&amp;gt;index=whatever shard IN ($shardToken$) | search shard!=0 AND shard!=-1&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;| chart count by endpoint&lt;/P&gt;&lt;P class=""&gt;| sort - count&lt;/P&gt;&lt;P class=""&gt;| head 5&amp;lt;/query&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;earliest&amp;gt;$TimeRange.earliest$&amp;lt;/earliest&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;latest&amp;gt;$TimeRange.latest$&amp;lt;/latest&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;/search&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;option name="charting.axisTitleX.visibility"&amp;gt;collapsed&amp;lt;/option&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;option name="charting.axisTitleY.visibility"&amp;gt;collapsed&amp;lt;/option&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;option name="charting.axisTitleY2.visibility"&amp;gt;visible&amp;lt;/option&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;option name="charting.chart"&amp;gt;column&amp;lt;/option&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;option name="charting.chart.showDataLabels"&amp;gt;all&amp;lt;/option&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;option name="charting.chart.stackMode"&amp;gt;default&amp;lt;/option&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;option name="charting.drilldown"&amp;gt;none&amp;lt;/option&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;option name="charting.legend.placement"&amp;gt;none&amp;lt;/option&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;option name="refresh.display"&amp;gt;progressbar&amp;lt;/option&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;option name="trellis.enabled"&amp;gt;0&amp;lt;/option&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;option name="trellis.scales.shared"&amp;gt;0&amp;lt;/option&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;option name="trellis.size"&amp;gt;small&amp;lt;/option&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;option name="trellis.splitBy"&amp;gt;_aggregation&amp;lt;/option&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;/chart&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;/panel&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;/row&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;row&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;panel&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;title&amp;gt;Top 5 External IP Addresses&amp;lt;/title&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;chart&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;search&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;query&amp;gt;index=whatever shard IN ($shardToken$) | search shard!=0 AND shard!=-1 NOT (original_ip=“123456789”) NOT (original_ip="-") NOT (original_ip=“123456789”)&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;| timechart limit=5 count by original_ip useother=f&lt;/P&gt;&lt;P class=""&gt;| sort - count&amp;lt;/query&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;earliest&amp;gt;$TimeRange.earliest$&amp;lt;/earliest&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;latest&amp;gt;$TimeRange.latest$&amp;lt;/latest&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;/search&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;option name="charting.axisTitleX.text"&amp;gt;@timestamp by 30 minutes&amp;lt;/option&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;option name="charting.chart"&amp;gt;line&amp;lt;/option&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;option name="charting.drilldown"&amp;gt;none&amp;lt;/option&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;option name="refresh.display"&amp;gt;progressbar&amp;lt;/option&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;/chart&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;/panel&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;panel&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;title&amp;gt;Top 5 IP External Addresses Word Count&amp;lt;/title&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;table&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;search&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;query&amp;gt;index=whatever shard IN ($shardToken$) | search shard!=0 AND shard!=-1 NOT (original_ip=“123456789”) NOT (original_ip="-") NOT (original_ip=“123456789”)&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;| top limit=5 original_ip&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;| sort - count&amp;lt;/query&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;earliest&amp;gt;$TimeRange.earliest$&amp;lt;/earliest&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;latest&amp;gt;$TimeRange.latest$&amp;lt;/latest&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;/search&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;option name="drilldown"&amp;gt;none&amp;lt;/option&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;option name="refresh.display"&amp;gt;progressbar&amp;lt;/option&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;option name="wrap"&amp;gt;true&amp;lt;/option&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;/table&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;/panel&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;/row&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&amp;lt;/form&amp;gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 May 2022 23:23:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-store-search-results-in-token-and-form-token/m-p/597699#M48991</guid>
      <dc:creator>jprovenzale</dc:creator>
      <dc:date>2022-05-12T23:23:57Z</dc:date>
    </item>
    <item>
      <title>Re: Store search results in token and form token.</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-store-search-results-in-token-and-form-token/m-p/597767#M48993</link>
      <description>&lt;P&gt;Try removing the assignments to shardToken - there are numerous places where you have done this.&lt;/P&gt;&lt;P&gt;shardToken is the output token from the multiselect input and gets set by the input when you change the input form.shardToken token.&lt;/P&gt;</description>
      <pubDate>Fri, 13 May 2022 12:32:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-store-search-results-in-token-and-form-token/m-p/597767#M48993</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-05-13T12:32:48Z</dc:date>
    </item>
    <item>
      <title>Re: Store search results in token and form token.</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-store-search-results-in-token-and-form-token/m-p/597837#M49000</link>
      <description>&lt;P&gt;I don't see how this fixes my problem.&lt;/P&gt;&lt;P&gt;shardToken is only set in 3 places, one from the input dropdown and 2 in drilldowns, which is appropriate.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 14 May 2022 01:51:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-store-search-results-in-token-and-form-token/m-p/597837#M49000</guid>
      <dc:creator>jprovenzale</dc:creator>
      <dc:date>2022-05-14T01:51:51Z</dc:date>
    </item>
    <item>
      <title>Re: Store search results in token and form token.</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-store-search-results-in-token-and-form-token/m-p/598202#M49054</link>
      <description>&lt;P&gt;So what is wrong with the below code that is not populating the form.shardToken?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;lt;form theme="dark"&amp;gt;&lt;BR /&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;lt;label&amp;gt;Troubleshooting Dashboard&amp;lt;/label&amp;gt;&lt;BR /&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;lt;description&amp;gt;===========================================&amp;lt;/description&amp;gt;&lt;BR /&gt;&amp;lt;search&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;lt;query&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;index=whatever shard IN ("*") | search shard!=0 AND shard!=-1&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | stats count as result by shard&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | sort -result&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | head 5&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | stats values(shard) as returnshards&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/query&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;done&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;eval token="form.shardToken"&amp;gt;$result.returnshards$&amp;lt;/eval&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/done&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;lt;/search&amp;gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 May 2022 23:12:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-store-search-results-in-token-and-form-token/m-p/598202#M49054</guid>
      <dc:creator>jprovenzale</dc:creator>
      <dc:date>2022-05-17T23:12:49Z</dc:date>
    </item>
    <item>
      <title>Re: Store search results in token and form token.</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-store-search-results-in-token-and-form-token/m-p/598219#M49057</link>
      <description>&lt;P&gt;There doesn't appear to be anything wrong with this code snippet so form.shardToken is probably being overwritten elsewhere in your dashboard.&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2022 04:55:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-store-search-results-in-token-and-form-token/m-p/598219#M49057</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-05-18T04:55:54Z</dc:date>
    </item>
    <item>
      <title>Re: Store search results in token and form token.</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-store-search-results-in-token-and-form-token/m-p/598393#M49071</link>
      <description>&lt;P&gt;That may be possible.&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is an initial pre-population of shards into the multi-select dropdown. This could affect the value of form.shardToken.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I guess it depends on what happens first, the initial pre-query or the pre-population.&lt;/P&gt;&lt;P&gt;Judging by current results I'm thinking the query runs first and the form.shardToken is overwritten by the pre-population.&lt;BR /&gt;&lt;BR /&gt;If that's the case, I can store the query result in a temporary token, but where do I set the form.shardToken after the pre-population?&lt;BR /&gt;I attempted a done clause as part of the pre-population but this was not allowed and also attempted to assign in the init section.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2022 23:49:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-store-search-results-in-token-and-form-token/m-p/598393#M49071</guid>
      <dc:creator>jprovenzale</dc:creator>
      <dc:date>2022-05-18T23:49:19Z</dc:date>
    </item>
    <item>
      <title>Re: Store search results in token and form token.</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-store-search-results-in-token-and-form-token/m-p/598409#M49074</link>
      <description>&lt;P&gt;What do you mean by pre-population?&lt;/P&gt;&lt;P&gt;Why are you doing "pre-population" when the "pre-query" is doing the job you want?&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2022 05:21:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-store-search-results-in-token-and-form-token/m-p/598409#M49074</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-05-19T05:21:06Z</dc:date>
    </item>
    <item>
      <title>Re: Store search results in token and form token.</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-store-search-results-in-token-and-form-token/m-p/598410#M49075</link>
      <description>&lt;P&gt;I am pre-populating the multi-select with.a list of all available shards.&lt;/P&gt;&lt;P&gt;The pre-query will simply assign the shards to that multi-select that it returns in the result.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In this way, initially, the multi-select will show the shards returned by the pre-query, however dropping the dropdown, they can add any other shards they may want to the list of shards to query.&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2022 05:24:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-store-search-results-in-token-and-form-token/m-p/598410#M49075</guid>
      <dc:creator>jprovenzale</dc:creator>
      <dc:date>2022-05-19T05:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: Store search results in token and form token.</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-store-search-results-in-token-and-form-token/m-p/598411#M49076</link>
      <description>&lt;P&gt;Can you share the code that is "pre-populating" the dropdown?&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2022 05:37:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-store-search-results-in-token-and-form-token/m-p/598411#M49076</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-05-19T05:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: Store search results in token and form token.</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-store-search-results-in-token-and-form-token/m-p/598817#M49119</link>
      <description>&lt;P&gt;It's in the code I gave you earlier but here it is again.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;lt;/init&amp;gt;&lt;BR /&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;lt;fieldset submitButton="true" autoRun="true"&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;input type="multiselect" token="shardToken" searchWhenChanged="false"&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;label&amp;gt;Shards&amp;lt;/label&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;delimiter&amp;gt;,&amp;lt;/delimiter&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;fieldForLabel&amp;gt;shardaccount&amp;lt;/fieldForLabel&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;fieldForValue&amp;gt;shard&amp;lt;/fieldForValue&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;search&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;query&amp;gt;| inputlookup ShardList.csv&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | eval shardaccount=shard + " - " + account&amp;lt;/query&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;earliest&amp;gt;@d&amp;lt;/earliest&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/search&amp;gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2022 00:45:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-store-search-results-in-token-and-form-token/m-p/598817#M49119</guid>
      <dc:creator>jprovenzale</dc:creator>
      <dc:date>2022-05-23T00:45:55Z</dc:date>
    </item>
  </channel>
</rss>

