<?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: How to generate a search for new events based on index time not event timestamp? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-generate-a-search-for-new-events-based-on-index-time-not/m-p/299858#M90323</link>
    <description>&lt;P&gt;Thanks!  Sounds like that would work.&lt;/P&gt;</description>
    <pubDate>Thu, 18 May 2017 13:31:57 GMT</pubDate>
    <dc:creator>techols</dc:creator>
    <dc:date>2017-05-18T13:31:57Z</dc:date>
    <item>
      <title>How to generate a search for new events based on index time not event timestamp?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-generate-a-search-for-new-events-based-on-index-time-not/m-p/299856#M90321</link>
      <description>&lt;P&gt;I want to build a system where an external event consumer periodically pulls newly indexed events from Splunk on a scheduled basis (e.g., every 15 or 30 minutes, or hourly).  The concern I have is that the indexing of events by Splunk can be interrupted due to licensing issues or due to network or server issues where a forwarder is temporarily prevented from sending events.  When the forwarding or indexing of events is restored, we will be indexing old events with timestamps set by the props.conf to the old times.&lt;/P&gt;

&lt;P&gt;So in queries from the external system, I want it to be able to query for events indexed in the last X minutes independent of the event timestamp.  This will allow me to pick up old events that were recently indexed without overly complex queries.  Is this concept possible to implement in Spunk?&lt;/P&gt;</description>
      <pubDate>Wed, 17 May 2017 19:47:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-generate-a-search-for-new-events-based-on-index-time-not/m-p/299856#M90321</guid>
      <dc:creator>techols</dc:creator>
      <dc:date>2017-05-17T19:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate a search for new events based on index time not event timestamp?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-generate-a-search-for-new-events-based-on-index-time-not/m-p/299857#M90322</link>
      <description>&lt;P&gt;There are the &lt;CODE&gt;_index_earliest&lt;/CODE&gt; and &lt;CODE&gt;_index_latest&lt;/CODE&gt; directives, like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=* _index_earliest="-10m@m" _index_latest=now()
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/6.6.0/SearchReference/SearchTimeModifiers"&gt;https://docs.splunk.com/Documentation/Splunk/6.6.0/SearchReference/SearchTimeModifiers&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2017 02:54:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-generate-a-search-for-new-events-based-on-index-time-not/m-p/299857#M90322</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-05-18T02:54:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate a search for new events based on index time not event timestamp?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-generate-a-search-for-new-events-based-on-index-time-not/m-p/299858#M90323</link>
      <description>&lt;P&gt;Thanks!  Sounds like that would work.&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2017 13:31:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-generate-a-search-for-new-events-based-on-index-time-not/m-p/299858#M90323</guid>
      <dc:creator>techols</dc:creator>
      <dc:date>2017-05-18T13:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate a search for new events based on index time not event timestamp?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-generate-a-search-for-new-events-based-on-index-time-not/m-p/299859#M90324</link>
      <description>&lt;P&gt;Be sure to click &lt;CODE&gt;Accept&lt;/CODE&gt; when it does! &lt;span class="lia-unicode-emoji" title=":grinning_squinting_face:"&gt;😆&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2017 14:55:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-generate-a-search-for-new-events-based-on-index-time-not/m-p/299859#M90324</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-05-18T14:55:45Z</dc:date>
    </item>
  </channel>
</rss>

