<?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: What search can I use to identify logs with future timestamps? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/What-search-can-I-use-to-identify-logs-with-future-timestamps/m-p/366917#M66701</link>
    <description>&lt;P&gt;An easy way should be searching the index and source with a future date-time range from your time range picker.&lt;/P&gt;</description>
    <pubDate>Fri, 11 Aug 2017 15:25:20 GMT</pubDate>
    <dc:creator>prakash007</dc:creator>
    <dc:date>2017-08-11T15:25:20Z</dc:date>
    <item>
      <title>What search can I use to identify logs with future timestamps?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-search-can-I-use-to-identify-logs-with-future-timestamps/m-p/366911#M66695</link>
      <description>&lt;P&gt;Hi All, Can any one guide me on how to check whether any log sources that are logging with future time stamps. I am not sure how to identify those log source which are having a future time stamps.   Kindly guide me on this.&lt;/P&gt;

&lt;P&gt;thanks in advance &lt;/P&gt;</description>
      <pubDate>Fri, 11 Aug 2017 13:39:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-search-can-I-use-to-identify-logs-with-future-timestamps/m-p/366911#M66695</guid>
      <dc:creator>Hemnaath</dc:creator>
      <dc:date>2017-08-11T13:39:29Z</dc:date>
    </item>
    <item>
      <title>Re: What search can I use to identify logs with future timestamps?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-search-can-I-use-to-identify-logs-with-future-timestamps/m-p/366912#M66696</link>
      <description>&lt;P&gt;Try this query.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| metadata type=sources | where recentTime&amp;gt;now() | fieldformat recentTime=strftime(recentTime,"%Y-%m-%d %H:%M")
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 11 Aug 2017 13:47:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-search-can-I-use-to-identify-logs-with-future-timestamps/m-p/366912#M66696</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2017-08-11T13:47:04Z</dc:date>
    </item>
    <item>
      <title>Re: What search can I use to identify logs with future timestamps?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-search-can-I-use-to-identify-logs-with-future-timestamps/m-p/366913#M66697</link>
      <description>&lt;P&gt;hey richgalloway, i tried the above query but it did not fetch any result, got no result found.  I had executed a query by keeping the time frame for last 24 hours. &lt;/P&gt;

&lt;P&gt;when same query was executed with time frame for last 7 days, i could see this message in job &lt;/P&gt;

&lt;P&gt;Metadata results may be incomplete: 100000 entries have been received from all peers (see parameter maxcount under the [metadata] stanza in limits.conf), and this search will not return metadata information for any more entries. (sid=md_1502460848.256250_8xAD37x6-D2F6-4C43-A22C-66B26D1236F6)&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 15:20:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-search-can-I-use-to-identify-logs-with-future-timestamps/m-p/366913#M66697</guid>
      <dc:creator>Hemnaath</dc:creator>
      <dc:date>2020-09-29T15:20:26Z</dc:date>
    </item>
    <item>
      <title>Re: What search can I use to identify logs with future timestamps?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-search-can-I-use-to-identify-logs-with-future-timestamps/m-p/366914#M66698</link>
      <description>&lt;P&gt;When I've run into an issue with a log file posting future timestamps, (Wrong timezone, wrong timestamp parsing, etc) an "All Time" search will usually show them. Obviously, make the search as specific as you can to limit the results. &lt;/P&gt;

&lt;P&gt;I've not tried it, but the _indextime command might bear some fruit. &lt;/P&gt;</description>
      <pubDate>Fri, 11 Aug 2017 14:24:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-search-can-I-use-to-identify-logs-with-future-timestamps/m-p/366914#M66698</guid>
      <dc:creator>JDukeSplunk</dc:creator>
      <dc:date>2017-08-11T14:24:45Z</dc:date>
    </item>
    <item>
      <title>Re: What search can I use to identify logs with future timestamps?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-search-can-I-use-to-identify-logs-with-future-timestamps/m-p/366915#M66699</link>
      <description>&lt;P&gt;To find future events you must search All Time or use something like &lt;CODE&gt;latest=+2d&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Aug 2017 14:28:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-search-can-I-use-to-identify-logs-with-future-timestamps/m-p/366915#M66699</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2017-08-11T14:28:40Z</dc:date>
    </item>
    <item>
      <title>Re: What search can I use to identify logs with future timestamps?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-search-can-I-use-to-identify-logs-with-future-timestamps/m-p/366916#M66700</link>
      <description>&lt;P&gt;hey  i tried to  execute the above query by keeping the time frame as "ALL time"  but it did not fetch any results and got no result found. &lt;/P&gt;

&lt;P&gt;0 results   (before 8/11/17 11:11:48.000 AM)&lt;/P&gt;

&lt;P&gt;Also getting this popup message in Job. &lt;BR /&gt;
Metadata results may be incomplete: 100000 entries have been received from all peers (see parameter maxcount under the [metadata] stanza in limits.conf), and this search will not return metadata information for any more entries. (sid=md_1502460848.227250_8xAD37x6-D2F6-4C43-A22C-66B26D1236F6)&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 15:20:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-search-can-I-use-to-identify-logs-with-future-timestamps/m-p/366916#M66700</guid>
      <dc:creator>Hemnaath</dc:creator>
      <dc:date>2020-09-29T15:20:43Z</dc:date>
    </item>
    <item>
      <title>Re: What search can I use to identify logs with future timestamps?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-search-can-I-use-to-identify-logs-with-future-timestamps/m-p/366917#M66701</link>
      <description>&lt;P&gt;An easy way should be searching the index and source with a future date-time range from your time range picker.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Aug 2017 15:25:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-search-can-I-use-to-identify-logs-with-future-timestamps/m-p/366917#M66701</guid>
      <dc:creator>prakash007</dc:creator>
      <dc:date>2017-08-11T15:25:20Z</dc:date>
    </item>
    <item>
      <title>Re: What search can I use to identify logs with future timestamps?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-search-can-I-use-to-identify-logs-with-future-timestamps/m-p/366918#M66702</link>
      <description>&lt;P&gt;If you have no events in the future then this query will not return any results.  Try omitting the &lt;CODE&gt;where&lt;/CODE&gt; clause to see what is returned.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Aug 2017 16:35:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-search-can-I-use-to-identify-logs-with-future-timestamps/m-p/366918#M66702</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2017-08-11T16:35:55Z</dc:date>
    </item>
    <item>
      <title>Re: What search can I use to identify logs with future timestamps?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-search-can-I-use-to-identify-logs-with-future-timestamps/m-p/366919#M66703</link>
      <description>&lt;P&gt;Hi Richgalloway, When I had tried to execute the SPL query by omitting the where clause with the time range set as ALL Time, I could see some data being populated in statistics tab but unable to filter out the which source or index is having an issue. &lt;/P&gt;

&lt;P&gt;I had tried in another way to find out whether future logs are generated for any index or not by keeping the time frame for future date "16-Aug-2017"  and simple search like this &lt;/P&gt;

&lt;P&gt;index = windows  source=*  &lt;/P&gt;

&lt;P&gt;Can I check like this also ? is this a right way to find out whether any log sources that are logging with future time stamps. &lt;/P&gt;

&lt;P&gt;Kindly guide me please. &lt;BR /&gt;
thanks in advances. &lt;/P&gt;</description>
      <pubDate>Mon, 14 Aug 2017 12:34:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-search-can-I-use-to-identify-logs-with-future-timestamps/m-p/366919#M66703</guid>
      <dc:creator>Hemnaath</dc:creator>
      <dc:date>2017-08-14T12:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: What search can I use to identify logs with future timestamps?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-search-can-I-use-to-identify-logs-with-future-timestamps/m-p/366920#M66704</link>
      <description>&lt;P&gt;When I run the query, the results are sorted by recentTime.  If they're not sorted when you run the query, click on the column heading to sort by that column.  Then you'll be able to see if any sources are in the future.  Since you get no results with the &lt;CODE&gt;where&lt;/CODE&gt; clause, I'm guessing you have no future events.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Aug 2017 12:38:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-search-can-I-use-to-identify-logs-with-future-timestamps/m-p/366920#M66704</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2017-08-14T12:38:52Z</dc:date>
    </item>
    <item>
      <title>Re: What search can I use to identify logs with future timestamps?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-search-can-I-use-to-identify-logs-with-future-timestamps/m-p/366921#M66705</link>
      <description>&lt;P&gt;@richgalloway @JDukeSplunk - you want &lt;CODE&gt;lasttime&lt;/CODE&gt; rather than &lt;CODE&gt;recenttime&lt;/CODE&gt;.  &lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;recenttime&lt;/CODE&gt; would only show the problem if the buggy event had been the last event processed on its index.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Aug 2017 13:46:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-search-can-I-use-to-identify-logs-with-future-timestamps/m-p/366921#M66705</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2017-08-14T13:46:58Z</dc:date>
    </item>
    <item>
      <title>Re: What search can I use to identify logs with future timestamps?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-search-can-I-use-to-identify-logs-with-future-timestamps/m-p/366922#M66706</link>
      <description>&lt;P&gt;Hi richgalloway, thanks for your inputs on this, when executed the above query with out the where clause and time frame set as ALL Time and  I got some data in to statistics, when sorted out I could see two events with future time stamp  &lt;/P&gt;

&lt;P&gt;| metadata type=sources  | fieldformat recentTime=strftime(recentTime,"%Y-%m-%d %H:%M")&lt;/P&gt;

&lt;P&gt;/opt/splunk/var/spool/splunk/3e5c33405c9c491d_events.stash_new  sources 1497539222  1497539519  2017-06-15 11:42    5409&lt;BR /&gt;
XXX-SEC-SUM-MAIL-SYMANTEC-MAIL                          sources 1497539401  1497555595  2017-06-15 16:10    18708&lt;/P&gt;

&lt;P&gt;now, Not sure how to find from which index/host is this source is mapped to in splunk instances.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 15:21:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-search-can-I-use-to-identify-logs-with-future-timestamps/m-p/366922#M66706</guid>
      <dc:creator>Hemnaath</dc:creator>
      <dc:date>2020-09-29T15:21:20Z</dc:date>
    </item>
    <item>
      <title>Re: What search can I use to identify logs with future timestamps?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-search-can-I-use-to-identify-logs-with-future-timestamps/m-p/366923#M66707</link>
      <description>&lt;P&gt;EDIT: I later packed these alerts and others into an app called &lt;A href="https://splunkbase.splunk.com/app/3796/"&gt;Alerts for Splunk Admins on SplunkBase&lt;/A&gt; and also on &lt;A href="http://github.com/gjanders/SplunkAdmins"&gt;github&lt;/A&gt; if you wanted just the searches...&lt;/P&gt;

&lt;P&gt;I use (to detect future based data in any index):&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=* earliest=+5m latest=+20y 
| eval ahead=abs(now() - _time)
| eval indextime=_indextime
| bin span=1d indextime 
| stats avg(ahead) as averageahead, max(_time) AS maxTime, min(_time) as minTime, count by host, sourcetype, index, indextime
| where indextime&amp;gt;(now()-604800) AND averageahead &amp;gt; 1000
| eval averageahead =tostring(averageahead, "duration")
| eval indextime=strftime(indextime, "%+"), maxTime = strftime(maxTime, "%+"), minTime = strftime(minTime, "%+")
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 14 Aug 2017 23:19:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-search-can-I-use-to-identify-logs-with-future-timestamps/m-p/366923#M66707</guid>
      <dc:creator>gjanders</dc:creator>
      <dc:date>2017-08-14T23:19:01Z</dc:date>
    </item>
    <item>
      <title>Re: What search can I use to identify logs with future timestamps?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-search-can-I-use-to-identify-logs-with-future-timestamps/m-p/366924#M66708</link>
      <description>&lt;P&gt;Hi Garethatiag,  Thanks a lot for providing the query to fetch the future log source. When we had executed the above query by setting a time frame as All Time, we got  some 550 node servers results.  &lt;/P&gt;

&lt;P&gt;host    sourcetype                index       indextime averageahead    maxTime minTime count&lt;BR /&gt;
test1   Script:ListeningPorts   win_svrs        00:00.0          16:41:30            49:00.0            49:00.0          49&lt;BR /&gt;
test2   Script:ListeningPorts   win_svrs          00:00.0       11:28:30              36:00.0              36:00.0  45&lt;BR /&gt;
test3   Script:ListeningPorts   win_svrs         00:00.0                   4:29:30           37:00.0               37:00.0  45&lt;BR /&gt;
test4   Script:ListeningPorts   win_svrs         00:00.0                      4:02:30           10:00.0            10:00.0  41&lt;BR /&gt;
test5   Script:ListeningPorts   win_svrs        00:00.0                  0:28:30            36:00.0              36:00.0    68&lt;BR /&gt;
test6   Script:ListeningPorts   win_svrs        00:00.0                 5:28:30         36:00.0              36:00.0        73&lt;/P&gt;

&lt;P&gt;I am not that good in SPL, so could not understand what the output is trying to convey. Could please guide on this. &lt;/P&gt;

&lt;P&gt;thanks in advance. &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 15:21:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-search-can-I-use-to-identify-logs-with-future-timestamps/m-p/366924#M66708</guid>
      <dc:creator>Hemnaath</dc:creator>
      <dc:date>2020-09-29T15:21:37Z</dc:date>
    </item>
    <item>
      <title>Re: What search can I use to identify logs with future timestamps?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-search-can-I-use-to-identify-logs-with-future-timestamps/m-p/366925#M66709</link>
      <description>&lt;P&gt;I've updated my post to use eval/strftime instead to see if that makes it more clear.&lt;/P&gt;

&lt;P&gt;The query attempts to look for data that has been parsed between 5 minutes and 20 years into the future, and indexed during the last 7 days&lt;/P&gt;

&lt;P&gt;The average ahead should be &amp;gt;1000 in my query and I can see 0 in your results...&lt;/P&gt;

&lt;P&gt;If you want to see &lt;EM&gt;any&lt;/EM&gt; future based data irrelevant of when it was indexed (I look over 7 days as a weekly alert FYI) then drop this line:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; | where indextime&amp;gt;(now()-604800) AND averageahead &amp;gt; 1000
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And replace it with:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; | where averageahead &amp;gt; 1000
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 15 Aug 2017 21:59:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-search-can-I-use-to-identify-logs-with-future-timestamps/m-p/366925#M66709</guid>
      <dc:creator>gjanders</dc:creator>
      <dc:date>2017-08-15T21:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: What search can I use to identify logs with future timestamps?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-search-can-I-use-to-identify-logs-with-future-timestamps/m-p/366926#M66710</link>
      <description>&lt;P&gt;Hi Garethatiag, thanks for your effort, I have executed the update query from your post  for a time frame of last 7 days.  And I had got the below output .&lt;/P&gt;

&lt;P&gt;host     sourcetype          index          indextime                 averageahead  maxTime                     minTime                        count&lt;BR /&gt;
test1   Script:ListeningPorts   win_svrs    Wed Aug 16 00:00:00 EDT 2017    15:56:22    Wed Aug 16 22:49:00 EDT 2017    Wed Aug 16 22:49:00 EDT 2017    49&lt;BR /&gt;
test2   Script:ListeningPorts   win_svrs    Wed Aug 16 00:00:00 EDT 2017    10:42:22    Wed Aug 16 17:35:00 EDT 2017    Wed Aug 16 17:35:00 EDT 2017    45&lt;BR /&gt;
test3   Script:ListeningPorts   win_svrs    Wed Aug 16 00:00:00 EDT 2017    3:44:22         Wed Aug 16 10:37:00 EDT 2017    Wed Aug 16 10:37:00 EDT 2017    45&lt;BR /&gt;
test4   Script:ListeningPorts   win_svrs    Wed Aug 16 00:00:00 EDT 2017    3:17:22     Wed Aug 16 10:10:00 EDT 2017    Wed Aug 16 10:10:00 EDT 2017    41&lt;BR /&gt;
test5   Script:ListeningPorts   win_svrs    Wed Aug 16 00:00:00 EDT 2017    4:43:22         Wed Aug 16 11:36:00 EDT 2017    Wed Aug 16 11:36:00 EDT 2017    73&lt;BR /&gt;
test6   Script:ListeningPorts   win_svrs    Wed Aug 16 00:00:00 EDT 2017    16:30:22    Wed Aug 16 23:23:00 EDT 2017    Wed Aug 16 23:23:00 EDT 2017    40&lt;/P&gt;

&lt;P&gt;And also after changing the query by  replacing it with | where  averageahead &amp;gt; 1000 got the below output. &lt;/P&gt;

&lt;P&gt;host    sourcetype              index              indextime                   averageahead maxTime                                minTime                count&lt;BR /&gt;
test1   Script:ListeningPorts   win_svrs    Wed Aug 16 00:00:00 EDT 2017    15:52:28    Wed Aug 16 22:49:00 EDT 2017    Wed Aug 16 22:49:00 EDT 2017    49&lt;BR /&gt;
test2   Script:ListeningPorts   win_svrs    Wed Aug 16 00:00:00 EDT 2017    10:38:28    Wed Aug 16 17:35:00 EDT 2017    Wed Aug 16 17:35:00 EDT 2017    45&lt;BR /&gt;
test3   Script:ListeningPorts   win_svrs    Wed Aug 16 00:00:00 EDT 2017    3:40:28         Wed Aug 16 10:37:00 EDT 2017    Wed Aug 16 10:37:00 EDT 2017    45&lt;BR /&gt;
test4   Script:ListeningPorts   win_svrs    Wed Aug 16 00:00:00 EDT 2017    3:13:28         Wed Aug 16 10:10:00 EDT 2017    Wed Aug 16 10:10:00 EDT 2017    41&lt;/P&gt;

&lt;P&gt;Could you please guide us,  whether we have any future log data source in our environment based on the above output result. As we have got some 550 nodes out of 2500 nodes in our environment, after executing the query. &lt;/P&gt;

&lt;P&gt;thanks in advance. &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 15:26:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-search-can-I-use-to-identify-logs-with-future-timestamps/m-p/366926#M66710</guid>
      <dc:creator>Hemnaath</dc:creator>
      <dc:date>2020-09-29T15:26:34Z</dc:date>
    </item>
    <item>
      <title>Re: What search can I use to identify logs with future timestamps?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-search-can-I-use-to-identify-logs-with-future-timestamps/m-p/366927#M66711</link>
      <description>&lt;P&gt;Make your query a subsearch and add SPL to get the fields you want.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[| metadata type=sources | fieldformat recentTime=strftime(recentTime,"%Y-%m-%d %H:%M")] | dedup source index host | table source index host
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 16 Aug 2017 13:20:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-search-can-I-use-to-identify-logs-with-future-timestamps/m-p/366927#M66711</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2017-08-16T13:20:48Z</dc:date>
    </item>
    <item>
      <title>Re: What search can I use to identify logs with future timestamps?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-search-can-I-use-to-identify-logs-with-future-timestamps/m-p/366928#M66712</link>
      <description>&lt;P&gt;So the above is advising that hosts test1/2/3/4 with sourcetype Script:ListeningPorts in index win_svrs are definitely logging data with timestamps in the future!&lt;/P&gt;

&lt;P&gt;The average is 15 hours ahead in the first line....&lt;/P&gt;

&lt;P&gt;Perhaps you can try:&lt;BR /&gt;
index=win_svrs host=test1 sourcetype=Script:ListeningPorts earliest=+5m latest=+20y &lt;BR /&gt;
| where _indextime &amp;lt; _time&lt;BR /&gt;
| eval indextime=strftime(_indextime, "%+")&lt;/P&gt;

&lt;P&gt;I have not tested the where clause, but I suspect even without it you should see some data with index time stamps much older than the time stamps received...&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 15:26:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-search-can-I-use-to-identify-logs-with-future-timestamps/m-p/366928#M66712</guid>
      <dc:creator>gjanders</dc:creator>
      <dc:date>2020-09-29T15:26:41Z</dc:date>
    </item>
    <item>
      <title>Re: What search can I use to identify logs with future timestamps?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-search-can-I-use-to-identify-logs-with-future-timestamps/m-p/366929#M66713</link>
      <description>&lt;P&gt;Hi Garethatiag,  again thanks for your effort, I had executed the  query for few of the servers  with time frame set as last 24 hours and found below outputs.&lt;/P&gt;

&lt;P&gt;index=win_svrs host=test1 sourcetype=Script:ListeningPorts earliest=+5m latest=+20y &lt;BR /&gt;
| where _indextime &amp;lt; _time&lt;BR /&gt;
| eval indextime=strftime(_indextime, "%+")&lt;/P&gt;

&lt;P&gt;8/17/17&lt;BR /&gt;
10:49:00.000 PM &lt;BR /&gt;
08/17/2017  0:22:49 transport=TCP dest_ip=[::] dest_port=63351 pid=6112&lt;BR /&gt;
host =  test1 source =  C:\Program Files\SplunkUniversalForwarder\etc\apps\test-app-win_svrs\bin\win_listening_ports.bat sourcetype =   Script:ListeningPorts&lt;BR /&gt;
8/17/17&lt;BR /&gt;
10:49:00.000 PM &lt;BR /&gt;
08/17/2017  0:22:49 transport=TCP dest_ip=[::] dest_port=63335 pid=588&lt;BR /&gt;
host =  test1 source =  C:\Program Files\SplunkUniversalForwarder\etc\apps\test-app-win_svrs\bin\win_listening_ports.bat sourcetype =   Script:ListeningPorts&lt;BR /&gt;
8/17/17&lt;/P&gt;

&lt;P&gt;and there are nearly 375 nodes having the future log time problem from the same sourcetype =    Script:ListeningPorts.  I have checked the remote server node test1 time, its showing the  correct time EDT time. Kindly let me know how to fix this issue. &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 15:23:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-search-can-I-use-to-identify-logs-with-future-timestamps/m-p/366929#M66713</guid>
      <dc:creator>Hemnaath</dc:creator>
      <dc:date>2020-09-29T15:23:04Z</dc:date>
    </item>
    <item>
      <title>Re: What search can I use to identify logs with future timestamps?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-search-can-I-use-to-identify-logs-with-future-timestamps/m-p/366930#M66714</link>
      <description>&lt;P&gt;Time parsing is done per sourcetype so assuming all logs entries look like this:&lt;BR /&gt;
08/17/2017 0:22:49 transport=...&lt;/P&gt;

&lt;P&gt;You could update &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Admin/Propsconf" target="_blank"&gt;props.conf&lt;/A&gt; with:&lt;BR /&gt;
TIME_PREFIX=^&lt;BR /&gt;
TIME_FORMAT = %m/%d/%Y %k:%M:%S&lt;/P&gt;

&lt;P&gt;If your forwarders run in a different time zone or similar you can also use TZ property in the props.conf but the above might fix your issue...&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 15:23:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-search-can-I-use-to-identify-logs-with-future-timestamps/m-p/366930#M66714</guid>
      <dc:creator>gjanders</dc:creator>
      <dc:date>2020-09-29T15:23:33Z</dc:date>
    </item>
  </channel>
</rss>

