<?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 Does the time range picker apply the same range to both a primary search and subsearch? If yes, can I override the subsearch time range? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Does-the-time-range-picker-apply-the-same-range-to-both-a/m-p/162344#M45999</link>
    <description>&lt;P&gt;I want to know about the scope of time range chosen by time range picker/&lt;BR /&gt;
In my case, I have two sourcetypes and all data under these sourcetypes as shown below. If I choose last 24 hr in the time range picker, does it mean the range will apply to both the primay search and the join subsearch?   In other words, will events returned by both searches include all events within the time range?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  search sourcetype=A xxxx
 | join [search sourcetype=B XXXX]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Also, if the time-range applies to both searches, can I override the time-range in the subsearch?&lt;/P&gt;</description>
    <pubDate>Tue, 14 Oct 2014 08:45:23 GMT</pubDate>
    <dc:creator>oraclebox</dc:creator>
    <dc:date>2014-10-14T08:45:23Z</dc:date>
    <item>
      <title>Does the time range picker apply the same range to both a primary search and subsearch? If yes, can I override the subsearch time range?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Does-the-time-range-picker-apply-the-same-range-to-both-a/m-p/162344#M45999</link>
      <description>&lt;P&gt;I want to know about the scope of time range chosen by time range picker/&lt;BR /&gt;
In my case, I have two sourcetypes and all data under these sourcetypes as shown below. If I choose last 24 hr in the time range picker, does it mean the range will apply to both the primay search and the join subsearch?   In other words, will events returned by both searches include all events within the time range?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  search sourcetype=A xxxx
 | join [search sourcetype=B XXXX]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Also, if the time-range applies to both searches, can I override the time-range in the subsearch?&lt;/P&gt;</description>
      <pubDate>Tue, 14 Oct 2014 08:45:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Does-the-time-range-picker-apply-the-same-range-to-both-a/m-p/162344#M45999</guid>
      <dc:creator>oraclebox</dc:creator>
      <dc:date>2014-10-14T08:45:23Z</dc:date>
    </item>
    <item>
      <title>Re: Does the time range picker apply the same range to both a primary search and subsearch? If yes, can I override the subsearch time range?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Does-the-time-range-picker-apply-the-same-range-to-both-a/m-p/162345#M46000</link>
      <description>&lt;P&gt;I believe the time picker time range applies to the primary search as well as to the subsearch.  I do not know if in-search expressions like 'earliest' will work inside the subsearch.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Oct 2014 10:02:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Does-the-time-range-picker-apply-the-same-range-to-both-a/m-p/162345#M46000</guid>
      <dc:creator>jrodman</dc:creator>
      <dc:date>2014-10-14T10:02:53Z</dc:date>
    </item>
    <item>
      <title>Re: Does the time range picker apply the same range to both a primary search and subsearch? If yes, can I override the subsearch time range?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Does-the-time-range-picker-apply-the-same-range-to-both-a/m-p/162346#M46001</link>
      <description>&lt;P&gt;You should be able to override the time range picker's time-range by using time modifiers (e.g. earliest, latest etc, see here for full list &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.1.4/SearchReference/SearchTimeModifiers"&gt;http://docs.splunk.com/Documentation/Splunk/6.1.4/SearchReference/SearchTimeModifiers&lt;/A&gt;). This holds true for both base search and subsearch.&lt;/P&gt;

&lt;P&gt;So, I could use yesterday's data in base search and day before yesterday's data in subsearch, even though time range picker is set to yesterday.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal | stats count as yesterday by sourcetype | appendcols [search index=_internal earliest=-2d@d latest=-1d@d | stats count as dayB4yesterday by sourcetype]
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 14 Oct 2014 18:06:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Does-the-time-range-picker-apply-the-same-range-to-both-a/m-p/162346#M46001</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-10-14T18:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: Does the time range picker apply the same range to both a primary search and subsearch? If yes, can I override the subsearch time range?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Does-the-time-range-picker-apply-the-same-range-to-both-a/m-p/162347#M46002</link>
      <description>&lt;P&gt;@somesoni2  Could you post your comment as answer, so it can be accepted and then the question will be listed as having an answer.&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 14 Oct 2014 18:12:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Does-the-time-range-picker-apply-the-same-range-to-both-a/m-p/162347#M46002</guid>
      <dc:creator>triest</dc:creator>
      <dc:date>2014-10-14T18:12:31Z</dc:date>
    </item>
    <item>
      <title>Re: Does the time range picker apply the same range to both a primary search and subsearch? If yes, can I override the subsearch time range?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Does-the-time-range-picker-apply-the-same-range-to-both-a/m-p/162348#M46003</link>
      <description>&lt;P&gt;Here you go &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Oct 2014 18:44:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Does-the-time-range-picker-apply-the-same-range-to-both-a/m-p/162348#M46003</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-10-14T18:44:35Z</dc:date>
    </item>
    <item>
      <title>Re: Does the time range picker apply the same range to both a primary search and subsearch? If yes, can I override the subsearch time range?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Does-the-time-range-picker-apply-the-same-range-to-both-a/m-p/162349#M46004</link>
      <description>&lt;P&gt;Thanks fro your reply. I am more clear.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Oct 2014 00:40:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Does-the-time-range-picker-apply-the-same-range-to-both-a/m-p/162349#M46004</guid>
      <dc:creator>oraclebox</dc:creator>
      <dc:date>2014-10-20T00:40:00Z</dc:date>
    </item>
  </channel>
</rss>

