<?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: Splunk Dashboard - 'Waiting for Input' error in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-Dashboard-Waiting-for-Input-error/m-p/560770#M39008</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You are correct about dashboard being created via Dashboard Studio. However, the two tokes&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;(category and number_of_rule) are not to be taken from form input. They are just variables used in the 'Map' command. Hence haven't initialized/set them anywhere&amp;nbsp;separately.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I tried this -&amp;nbsp;&lt;A href="https://community.splunk.com/t5/Dashboards-Visualizations/Why-is-the-quot-map-quot-command-not-working-in-dashboard-and/m-p/187296" target="_blank"&gt;https://community.splunk.com/t5/Dashboards-Visualizations/Why-is-the-quot-map-quot-command-not-working-in-dashboard-and/m-p/187296&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;But having same error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 26 Jul 2021 12:14:57 GMT</pubDate>
    <dc:creator>shaquibk</dc:creator>
    <dc:date>2021-07-26T12:14:57Z</dc:date>
    <item>
      <title>Splunk Dashboard - 'Waiting for Input' error</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-Dashboard-Waiting-for-Input-error/m-p/560633#M38988</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I am stuck with 'Waiting for Input' error for one of the panels that I created in Splunk Dashboard. However, the search runs fine in Search app.&lt;/P&gt;&lt;P&gt;Reading through other similar questions, it seems related to tokens. Tried rectifying it but no good. Following are the search and XML:&lt;/P&gt;&lt;P&gt;Search:&lt;/P&gt;&lt;P&gt;| inputlookup xxxxxxx.csv&lt;BR /&gt;| stats dc(title) as number_of_rule, values(title) as rules by category&lt;BR /&gt;| map [| inputlookup yyyyyyyy.csv&lt;BR /&gt;| eval Date=strftime(_time, \"%m/%d/%Y\")&lt;BR /&gt;| eval month=strftime(_time, \"%m\")&lt;BR /&gt;| eval current_month=strftime(now(),\"%m\")&lt;BR /&gt;| where month=current_month-1&lt;BR /&gt;| search index=$$category$$&lt;BR /&gt;| stats sum(GB) as GB by index&lt;BR /&gt;| eval GB=round(GB,3)&lt;BR /&gt;| eval index=\"$$category$$\", number_of_rule=\"$$number_of_rule$$\" | table index, number_of_rule, GB&lt;BR /&gt;]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;XML:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"type"&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"ds.search"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"options"&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"query"&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"|&amp;nbsp;inputlookup xxxxxxx.csv\r\n|&amp;nbsp;stats&amp;nbsp;dc(title)&amp;nbsp;as&amp;nbsp;number_of_rule,&amp;nbsp;values(title)&amp;nbsp;as&amp;nbsp;rules&amp;nbsp;by&amp;nbsp;category\r\n|&amp;nbsp;map&amp;nbsp;[|&amp;nbsp;inputlookup&amp;nbsp;yyyyyyyyy.csv\r\n|&amp;nbsp;eval&amp;nbsp;Date=strftime(_time,&amp;nbsp;\\\"%m/%d/%Y\\\")\r\n|&amp;nbsp;eval&amp;nbsp;month=strftime(_time,&amp;nbsp;\\\"%m\\\")\r\n|&amp;nbsp;eval&amp;nbsp;current_month=strftime(now(),\\\"%m\\\")\r\n|&amp;nbsp;where&amp;nbsp;month=current_month-1\r\n|&amp;nbsp;search&amp;nbsp;index=$$category$$\r\n|&amp;nbsp;stats&amp;nbsp;sum(GB)&amp;nbsp;as&amp;nbsp;GB&amp;nbsp;by&amp;nbsp;index\r\n|&amp;nbsp;eval&amp;nbsp;GB=round(GB,3)\r\n|&amp;nbsp;eval&amp;nbsp;index=\\\"$$category$$\\\",&amp;nbsp;number_of_rule=\\\"$$number_of_rule$$\\\"&amp;nbsp;|&amp;nbsp;table&amp;nbsp;index,&amp;nbsp;number_of_rule,&amp;nbsp;GB\r\n]"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;},&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"name"&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"Search_8"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thanks in advance!&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 23 Jul 2021 17:24:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-Dashboard-Waiting-for-Input-error/m-p/560633#M38988</guid>
      <dc:creator>shaquibk</dc:creator>
      <dc:date>2021-07-23T17:24:45Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Dashboard - 'Waiting for Input' error</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-Dashboard-Waiting-for-Input-error/m-p/560641#M38991</link>
      <description>&lt;P&gt;Does your dashboard source start with &lt;FONT face="courier new,courier"&gt;&amp;lt;form&amp;gt;&lt;/FONT&gt; or &lt;FONT face="courier new,courier"&gt;&amp;lt;dashboard&amp;gt;&lt;/FONT&gt;?&amp;nbsp; If the latter, as I suspect, then replace the double $ with single $.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jul 2021 18:36:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-Dashboard-Waiting-for-Input-error/m-p/560641#M38991</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2021-07-23T18:36:28Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Dashboard - 'Waiting for Input' error</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-Dashboard-Waiting-for-Input-error/m-p/560645#M38993</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Where do you suggest to check the dashboard source? In the XML code for complete dashboard, I did not find any &amp;lt;form&amp;gt; or &amp;lt;dashboard&amp;gt; tag.&amp;nbsp;&lt;/P&gt;&lt;P&gt;However,&amp;nbsp; there is no form input in my dashboard. Just some panels with some standard searches.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, earlier I had put single $ sign and got the same error. But as per Splunk documentation, when using map command, we should user double $$ for variables, hence changed it to double. Anyway, both are giving the same result.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jul 2021 19:19:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-Dashboard-Waiting-for-Input-error/m-p/560645#M38993</guid>
      <dc:creator>shaquibk</dc:creator>
      <dc:date>2021-07-23T19:19:00Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Dashboard - 'Waiting for Input' error</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-Dashboard-Waiting-for-Input-error/m-p/560654#M38994</link>
      <description>&lt;P&gt;The Simple XML for the dashboard will start with one of those two words.&amp;nbsp; Click Edit-&amp;gt;Source to view it.&amp;nbsp; If you have something else then please share.&lt;/P&gt;&lt;P&gt;That you had already tried single $ would have been something good to include in the OP.&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jul 2021 20:21:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-Dashboard-Waiting-for-Input-error/m-p/560654#M38994</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2021-07-23T20:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Dashboard - 'Waiting for Input' error</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-Dashboard-Waiting-for-Input-error/m-p/560667#M38995</link>
      <description>&lt;P&gt;As you tag suggests, it looks like you have created the dashboard with Dashboard Studio; this is also evident from what you have called "XML" - this is in fact JSON format definition of part of the dashboard source. Your search requires two tokens to be set (category and number_of_rule). It is these that splunk is waiting for. Where in your dashboard are you setting these? Or are you expecting them to be passed in when the dashboard is launched?&lt;/P&gt;</description>
      <pubDate>Sat, 24 Jul 2021 05:45:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-Dashboard-Waiting-for-Input-error/m-p/560667#M38995</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-07-24T05:45:29Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Dashboard - 'Waiting for Input' error</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-Dashboard-Waiting-for-Input-error/m-p/560770#M39008</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You are correct about dashboard being created via Dashboard Studio. However, the two tokes&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;(category and number_of_rule) are not to be taken from form input. They are just variables used in the 'Map' command. Hence haven't initialized/set them anywhere&amp;nbsp;separately.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I tried this -&amp;nbsp;&lt;A href="https://community.splunk.com/t5/Dashboards-Visualizations/Why-is-the-quot-map-quot-command-not-working-in-dashboard-and/m-p/187296" target="_blank"&gt;https://community.splunk.com/t5/Dashboards-Visualizations/Why-is-the-quot-map-quot-command-not-working-in-dashboard-and/m-p/187296&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;But having same error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jul 2021 12:14:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-Dashboard-Waiting-for-Input-error/m-p/560770#M39008</guid>
      <dc:creator>shaquibk</dc:creator>
      <dc:date>2021-07-26T12:14:57Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Dashboard - 'Waiting for Input' error</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-Dashboard-Waiting-for-Input-error/m-p/560779#M39009</link>
      <description>&lt;P&gt;Update - Running the same search in classic dashboard works as expected. Used double '$$' sign for variables of the map command.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Issue is specific to dashboard created via Dashboard studio&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jul 2021 12:42:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-Dashboard-Waiting-for-Input-error/m-p/560779#M39009</guid>
      <dc:creator>shaquibk</dc:creator>
      <dc:date>2021-07-26T12:42:31Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Dashboard - 'Waiting for Input' error</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-Dashboard-Waiting-for-Input-error/m-p/560802#M39010</link>
      <description>&lt;P&gt;It appears to be a known limitation of Dashboard Studio.&amp;nbsp; Per &lt;A href="https://docs.splunk.com/Documentation/Splunk/8.2.1/DashStudio/IntroFrame#Compare_classic_Splunk_Dashboards_.28Simple_XML.29_and_the_Splunk_Dashboard_Studio" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/8.2.1/DashStudio/IntroFrame#Compare_classic_Splunk_Dashboards_.28Simple_XML.29_and_the_Splunk_Dashboard_Studio&lt;/A&gt;:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;If you are using the Splunk Dashboards Studio, tokens can only be generated using inputs. Tokens are not set when a dashboard loads. You cannot set token values as a result of a search.&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jul 2021 13:57:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-Dashboard-Waiting-for-Input-error/m-p/560802#M39010</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2021-07-26T13:57:57Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Dashboard - 'Waiting for Input' error</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-Dashboard-Waiting-for-Input-error/m-p/560814#M39013</link>
      <description>&lt;P&gt;At the moment, there are a number of limitations with Dashboard Studio that make developing a lot of dashboards untenable and using SimpleXML dashboards is probably the best way for now, imho. Obviously, look out for updates to the Dashboard Studio as these limitations will hopefully eventually be resolved.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jul 2021 15:15:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-Dashboard-Waiting-for-Input-error/m-p/560814#M39013</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-07-26T15:15:37Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Dashboard - 'Waiting for Input' error</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-Dashboard-Waiting-for-Input-error/m-p/560818#M39014</link>
      <description>&lt;P&gt;Thanks for the help guys!&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jul 2021 15:33:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-Dashboard-Waiting-for-Input-error/m-p/560818#M39014</guid>
      <dc:creator>shaquibk</dc:creator>
      <dc:date>2021-07-26T15:33:19Z</dc:date>
    </item>
  </channel>
</rss>

