<?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: Why does &amp;quot;Search is waiting for input&amp;quot; has a delay if using loadjob and JS? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-does-quot-Search-is-waiting-for-input-quot-has-a-delay-if/m-p/488277#M31979</link>
    <description>&lt;P&gt;One workaround is to use &lt;CODE&gt;&amp;lt;table depends="$exchange$"&amp;gt;&lt;/CODE&gt; to hide results until completion, and then make your own HTML message:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  &amp;lt;search&amp;gt;
    &amp;lt;query&amp;gt;
| makeresults | eval trigger="$submit_trigger1$" | eval message="Your search is running..." | table message
    &amp;lt;/query&amp;gt;
    &amp;lt;progress&amp;gt;
      &amp;lt;set token="submitted_message"&amp;gt;$result.message$&amp;lt;/set&amp;gt;
    &amp;lt;/progress&amp;gt;
  &amp;lt;/search&amp;gt;
  &amp;lt;search&amp;gt;
    &amp;lt;query&amp;gt;
| makeresults | eval trigger="$exchange$" | eval message="Your search is complete." | table message
    &amp;lt;/query&amp;gt;
    &amp;lt;progress&amp;gt;
      &amp;lt;set token="submitted_message"&amp;gt;$result.message$&amp;lt;/set&amp;gt;
    &amp;lt;/progress&amp;gt;
  &amp;lt;/search&amp;gt;  
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 16 Jan 2020 23:54:45 GMT</pubDate>
    <dc:creator>nick405060</dc:creator>
    <dc:date>2020-01-16T23:54:45Z</dc:date>
    <item>
      <title>Why does "Search is waiting for input" has a delay if using loadjob and JS?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-does-quot-Search-is-waiting-for-input-quot-has-a-delay-if/m-p/488276#M31978</link>
      <description>&lt;P&gt;Main search:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;makeresults | append [| loadjob "$exchange$"] | eval trigger="$submit_trigger1$"&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;where the ad-hoc loadjob sets &lt;CODE&gt;$exchange$&lt;/CODE&gt; via&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;done&amp;gt;
  &amp;lt;condition&amp;gt;
    &amp;lt;set token="exchange"&amp;gt;$job.sid$&amp;lt;/set&amp;gt;
  &amp;lt;/condition&amp;gt;
&amp;lt;/done&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;However, the "search is waiting for input" message does not go away until &lt;CODE&gt;$job.sid$&lt;/CODE&gt; is populated. Changing &lt;CODE&gt;&amp;lt;done&amp;gt;&lt;/CODE&gt; to &lt;CODE&gt;&amp;lt;progress&amp;gt;&lt;/CODE&gt; does not fix the issue. Isn't this an inherent drawback to using &lt;CODE&gt;loadjob&lt;/CODE&gt; as a replacement for post-processing with its many faults (unable to do multiple base searches, export button grayed out)? Are there any workarounds or fixes?&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jan 2020 23:53:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-does-quot-Search-is-waiting-for-input-quot-has-a-delay-if/m-p/488276#M31978</guid>
      <dc:creator>nick405060</dc:creator>
      <dc:date>2020-01-16T23:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: Why does "Search is waiting for input" has a delay if using loadjob and JS?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-does-quot-Search-is-waiting-for-input-quot-has-a-delay-if/m-p/488277#M31979</link>
      <description>&lt;P&gt;One workaround is to use &lt;CODE&gt;&amp;lt;table depends="$exchange$"&amp;gt;&lt;/CODE&gt; to hide results until completion, and then make your own HTML message:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  &amp;lt;search&amp;gt;
    &amp;lt;query&amp;gt;
| makeresults | eval trigger="$submit_trigger1$" | eval message="Your search is running..." | table message
    &amp;lt;/query&amp;gt;
    &amp;lt;progress&amp;gt;
      &amp;lt;set token="submitted_message"&amp;gt;$result.message$&amp;lt;/set&amp;gt;
    &amp;lt;/progress&amp;gt;
  &amp;lt;/search&amp;gt;
  &amp;lt;search&amp;gt;
    &amp;lt;query&amp;gt;
| makeresults | eval trigger="$exchange$" | eval message="Your search is complete." | table message
    &amp;lt;/query&amp;gt;
    &amp;lt;progress&amp;gt;
      &amp;lt;set token="submitted_message"&amp;gt;$result.message$&amp;lt;/set&amp;gt;
    &amp;lt;/progress&amp;gt;
  &amp;lt;/search&amp;gt;  
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 16 Jan 2020 23:54:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-does-quot-Search-is-waiting-for-input-quot-has-a-delay-if/m-p/488277#M31979</guid>
      <dc:creator>nick405060</dc:creator>
      <dc:date>2020-01-16T23:54:45Z</dc:date>
    </item>
  </channel>
</rss>

