<?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 search is not running again until the time is not changed? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Why-does-search-is-not-running-again-until-the-time-is-not/m-p/152335#M42691</link>
    <description>&lt;P&gt;I've been searching for a reason and a fix/work-around as well. Personally I classify it as a bug - there's an enabled UI element (the search button) that actually doesn't work.&lt;/P&gt;</description>
    <pubDate>Tue, 13 May 2014 15:11:30 GMT</pubDate>
    <dc:creator>cbehm</dc:creator>
    <dc:date>2014-05-13T15:11:30Z</dc:date>
    <item>
      <title>Why does search is not running again until the time is not changed?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-does-search-is-not-running-again-until-the-time-is-not/m-p/152334#M42690</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;

&lt;P&gt;I would like to know why the search cannot be re-run until i change the time interval for it?&lt;/P&gt;

&lt;P&gt;I have my dashboards running on Splunk 6.03. The dashboards were written in Simple XML.&lt;/P&gt;

&lt;P&gt;If i open some dashboard, select for example "last 15 minutes" and press "Search", then i'll receive results for that period of time.&lt;/P&gt;

&lt;P&gt;Now if i wait for a minute (or for a day) and run the same search on the same dashboard (that was not reloaded) by pressing the "Search" button again nothing will happen.&lt;/P&gt;

&lt;P&gt;But, for this situation last 15 minutes will contain another results.&lt;/P&gt;

&lt;P&gt;I'm asking about this behaviour because in Advanced XML i was able to click "Search" for some timeinterval to receive data, then i was able to click "Search" again and again without changing the  timeinterval, without refreshing the page and the results were displayed.&lt;/P&gt;

&lt;P&gt;I haven't found any description in the documentation...&lt;/P&gt;</description>
      <pubDate>Mon, 05 May 2014 12:32:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-does-search-is-not-running-again-until-the-time-is-not/m-p/152334#M42690</guid>
      <dc:creator>mr_brightside</dc:creator>
      <dc:date>2014-05-05T12:32:09Z</dc:date>
    </item>
    <item>
      <title>Re: Why does search is not running again until the time is not changed?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-does-search-is-not-running-again-until-the-time-is-not/m-p/152335#M42691</link>
      <description>&lt;P&gt;I've been searching for a reason and a fix/work-around as well. Personally I classify it as a bug - there's an enabled UI element (the search button) that actually doesn't work.&lt;/P&gt;</description>
      <pubDate>Tue, 13 May 2014 15:11:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-does-search-is-not-running-again-until-the-time-is-not/m-p/152335#M42691</guid>
      <dc:creator>cbehm</dc:creator>
      <dc:date>2014-05-13T15:11:30Z</dc:date>
    </item>
    <item>
      <title>Re: Why does search is not running again until the time is not changed?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-does-search-is-not-running-again-until-the-time-is-not/m-p/152336#M42692</link>
      <description>&lt;P&gt;Seems like it's really a splunk bug:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.0.3/ReleaseNotes/Knownissues#REST.2C_Simple_XML.2C_and_Advanced_XML_issues"&gt;http://docs.splunk.com/Documentation/Splunk/6.0.3/ReleaseNotes/Knownissues#REST.2C_Simple_XML.2C_and_Advanced_XML_issues&lt;/A&gt;&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;Submit button in Simple xml will not&lt;BR /&gt;
re-run search without change to&lt;BR /&gt;
time-picker. (SPL-77989)&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;There is no such info in issues for 6.1.0, - apparently they've fixed that. While i've not tested 6.1.x yet i don't think that creating any workaround is necessary here.&lt;/P&gt;</description>
      <pubDate>Wed, 14 May 2014 09:44:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-does-search-is-not-running-again-until-the-time-is-not/m-p/152336#M42692</guid>
      <dc:creator>mr_brightside</dc:creator>
      <dc:date>2014-05-14T09:44:33Z</dc:date>
    </item>
    <item>
      <title>Re: Why does search is not running again until the time is not changed?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-does-search-is-not-running-again-until-the-time-is-not/m-p/152337#M42693</link>
      <description>&lt;P&gt;I just installed 6.1.1 and as far as I can tell it's still broken.&lt;/P&gt;</description>
      <pubDate>Thu, 15 May 2014 14:09:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-does-search-is-not-running-again-until-the-time-is-not/m-p/152337#M42693</guid>
      <dc:creator>cbehm</dc:creator>
      <dc:date>2014-05-15T14:09:47Z</dc:date>
    </item>
    <item>
      <title>Re: Why does search is not running again until the time is not changed?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-does-search-is-not-running-again-until-the-time-is-not/m-p/152338#M42694</link>
      <description>&lt;P&gt;Working on another issue i've found some examples on how to work with the search manager and with timeline/timerange. The information is present in DEV portal of splunk. &lt;/P&gt;

&lt;P&gt;Here are some useful links:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://dev.splunk.com/view/SP-CAAAEW4"&gt;http://dev.splunk.com/view/SP-CAAAEW4&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://dev.splunk.com/view/SP-CAAAET9"&gt;http://dev.splunk.com/view/SP-CAAAET9&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;I'm sure, that i can change the default behaviour of the Search button with that.&lt;/P&gt;</description>
      <pubDate>Thu, 29 May 2014 11:07:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-does-search-is-not-running-again-until-the-time-is-not/m-p/152338#M42694</guid>
      <dc:creator>mr_brightside</dc:creator>
      <dc:date>2014-05-29T11:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: Why does search is not running again until the time is not changed?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-does-search-is-not-running-again-until-the-time-is-not/m-p/152339#M42695</link>
      <description>&lt;P&gt;I've returned to this problem.&lt;/P&gt;

&lt;P&gt;I've installed 6.1.1. In that version we have FormUtils module:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;share/splunk/search_mrsparkle/exposed/js/splunkjs/mvc/simpleform/formutils.js
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Here we have method submitForm, that could be extended by our own script:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;require([
    'underscore',
    'jquery',
    'splunkjs/mvc',
    'splunkjs/mvc/simpleform/formutils',
    'splunkjs/mvc/simplexml/ready!',
    'splunkjs/ready!'
], function(_, $, mvc, FormUtils) {

    _.extend(FormUtils, {
        submitForm: _.debounce(function(options) {...}
    }
}
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This could be good start point to search the final solution.&lt;/P&gt;

&lt;P&gt;But, this is only for 6.1.1. If you install 6.0.x you will never find that formutils.js file. In this case i think that there is no common solution for this.&lt;/P&gt;

&lt;P&gt;Another suggestion, which is simpler, is just to take saved url (after pressing the submit button, our filters are saved in the url) and to reload the page with it.&lt;/P&gt;

&lt;P&gt;I would like to know, that solution is the best. Has anybody solved that in another way?&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jun 2014 14:39:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-does-search-is-not-running-again-until-the-time-is-not/m-p/152339#M42695</guid>
      <dc:creator>mr_brightside</dc:creator>
      <dc:date>2014-06-26T14:39:10Z</dc:date>
    </item>
  </channel>
</rss>

