<?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: Time modifiers in second search after pipe in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Time-modifiers-in-second-search-after-pipe/m-p/156974#M185787</link>
    <description>&lt;P&gt;Time modifiers such as &lt;CODE&gt;earliest&lt;/CODE&gt; only make sense in the first instance of &lt;CODE&gt;search&lt;/CODE&gt; where events are loaded. Afterwards, you can still do filtering like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=test | some magic stuff | where _time &amp;gt; relative_time(now(), "-10y")
index=test | some magic stuff | where _time &amp;gt; strptime("1990-01-01T20:00:00", "%FT%T")
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 08 May 2014 17:31:16 GMT</pubDate>
    <dc:creator>martin_mueller</dc:creator>
    <dc:date>2014-05-08T17:31:16Z</dc:date>
    <item>
      <title>Time modifiers in second search after pipe</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Time-modifiers-in-second-search-after-pipe/m-p/156971#M185784</link>
      <description>&lt;P&gt;On data with recent timestamps I do search:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=test * | search earliest="1/1/1990:20:00:00"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;No results found, but I was expecting all my events.&lt;/P&gt;

&lt;P&gt;Yes I do need this timemodifier in my second search I want to narrow time appending search one after another...&lt;/P&gt;</description>
      <pubDate>Thu, 08 May 2014 14:37:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Time-modifiers-in-second-search-after-pipe/m-p/156971#M185784</guid>
      <dc:creator>adamguzek</dc:creator>
      <dc:date>2014-05-08T14:37:44Z</dc:date>
    </item>
    <item>
      <title>Re: Time modifiers in second search after pipe</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Time-modifiers-in-second-search-after-pipe/m-p/156972#M185785</link>
      <description>&lt;P&gt;First of all, that's no subsearch, that's just a second search further along the main search pipeline.&lt;/P&gt;

&lt;P&gt;Anyway, specifying &lt;CODE&gt;earliest&lt;/CODE&gt; is only supported in the base search. If you do&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=test earliest="1/1/1990:20:00:00"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;you should be getting all your events after the specified time (as long as your time string is correctly formatted, which I admin I haven't checked).&lt;/P&gt;</description>
      <pubDate>Thu, 08 May 2014 14:41:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Time-modifiers-in-second-search-after-pipe/m-p/156972#M185785</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2014-05-08T14:41:59Z</dc:date>
    </item>
    <item>
      <title>Re: Time modifiers in second search after pipe</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Time-modifiers-in-second-search-after-pipe/m-p/156973#M185786</link>
      <description>&lt;P&gt;Can I use other time modifiers in second search - is it only earliest/latest problematic?&lt;/P&gt;</description>
      <pubDate>Thu, 08 May 2014 14:47:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Time-modifiers-in-second-search-after-pipe/m-p/156973#M185786</guid>
      <dc:creator>adamguzek</dc:creator>
      <dc:date>2014-05-08T14:47:04Z</dc:date>
    </item>
    <item>
      <title>Re: Time modifiers in second search after pipe</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Time-modifiers-in-second-search-after-pipe/m-p/156974#M185787</link>
      <description>&lt;P&gt;Time modifiers such as &lt;CODE&gt;earliest&lt;/CODE&gt; only make sense in the first instance of &lt;CODE&gt;search&lt;/CODE&gt; where events are loaded. Afterwards, you can still do filtering like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=test | some magic stuff | where _time &amp;gt; relative_time(now(), "-10y")
index=test | some magic stuff | where _time &amp;gt; strptime("1990-01-01T20:00:00", "%FT%T")
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 08 May 2014 17:31:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Time-modifiers-in-second-search-after-pipe/m-p/156974#M185787</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2014-05-08T17:31:16Z</dc:date>
    </item>
  </channel>
</rss>

