<?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: handling future dates from csv in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/handling-future-dates-from-csv/m-p/344569#M63380</link>
    <description>&lt;P&gt;i am uploading csv and using it without specify any index&lt;/P&gt;</description>
    <pubDate>Tue, 13 Jun 2017 12:32:15 GMT</pubDate>
    <dc:creator>dsiob</dc:creator>
    <dc:date>2017-06-13T12:32:15Z</dc:date>
    <item>
      <title>handling future dates from csv</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/handling-future-dates-from-csv/m-p/344564#M63375</link>
      <description>&lt;P&gt;hi,&lt;BR /&gt;
I have a csv file, having  time field 'Start Time'. This field will have entries of current week dates as well as future week dates. Eg: If today is 6/13/2017, It will have 6/16/2017, 6/23/2017 etc. When I try to upload the csv it  shows warning 'Could not use regex to parse timestamp '6/23/2017'. And when start searching on the csv, it shows 'NO result found'.&lt;BR /&gt;
I have to have future dates in the csv.&lt;BR /&gt;
Can somebody help to overcome this problem?&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/3057i0A0B92101FE0B361/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jun 2017 11:43:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/handling-future-dates-from-csv/m-p/344564#M63375</guid>
      <dc:creator>dsiob</dc:creator>
      <dc:date>2017-06-13T11:43:38Z</dc:date>
    </item>
    <item>
      <title>Re: handling future dates from csv</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/handling-future-dates-from-csv/m-p/344565#M63376</link>
      <description>&lt;P&gt;The root cause of this problem is that the limit &lt;CODE&gt;MAX_DAYS_HENCE&lt;/CODE&gt; (which is &lt;CODE&gt;2&lt;/CODE&gt; by default) is deliberately disallowing your events. &lt;BR /&gt;
 It is very easy to increase &lt;CODE&gt;MAX_DAYS_HENCE&lt;/CODE&gt; in &lt;CODE&gt;props.conf&lt;/CODE&gt; to tolerate your amazing events from the future.&lt;/P&gt;

&lt;P&gt;To double-check if this is the case, you should also be seeing warning logs like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;10-12-2010 12:53:32.619 WARN DateParserVerbose - The TIME_FORMAT specified is matching timestamps (Tue Oct 12 12:53:32 2010) outside of the acceptable time window. If this timestamp is correct, consider adjusting MAX_DAYS_AGO and MAX_DAYS_HENCE.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You can run this search to see:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="internal" sourcetype="splunkd" DateParserVerbose MAX_DAYS* "outside of the acceptable time window"
| rex "matching timestamps ((?&amp;lt;ts&amp;gt;[^)]+))"
| eval ts2=strptime(ts, "%a %b %d %T %Y")
| eval time_diff=round((_time-ts2)/60,1)
| where abs(time_diff)&amp;lt;=1440
| table _time, ts, time_diff, host
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You will have to restart all splunk instances on your Indexers after you change this setting.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jun 2017 11:56:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/handling-future-dates-from-csv/m-p/344565#M63376</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-06-13T11:56:02Z</dc:date>
    </item>
    <item>
      <title>Re: handling future dates from csv</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/handling-future-dates-from-csv/m-p/344566#M63377</link>
      <description>&lt;P&gt;I changed in file C:\Program Files\Splunk\etc\system\default\props.config, MAX_DAYS_HENCE=30. But it is not reflecting.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 14:26:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/handling-future-dates-from-csv/m-p/344566#M63377</guid>
      <dc:creator>dsiob</dc:creator>
      <dc:date>2020-09-29T14:26:51Z</dc:date>
    </item>
    <item>
      <title>Re: handling future dates from csv</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/handling-future-dates-from-csv/m-p/344567#M63378</link>
      <description>&lt;P&gt;Did you deploy to your INDEXERS and restart all splunk instances there?  This will only apply to events you index AFTER the change (older broken events will "stay missing").&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jun 2017 12:11:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/handling-future-dates-from-csv/m-p/344567#M63378</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-06-13T12:11:59Z</dc:date>
    </item>
    <item>
      <title>Re: handling future dates from csv</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/handling-future-dates-from-csv/m-p/344568#M63379</link>
      <description>&lt;P&gt;'Did you deploy to your INDEXERS' can you pls tell me how to do that.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jun 2017 12:27:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/handling-future-dates-from-csv/m-p/344568#M63379</guid>
      <dc:creator>dsiob</dc:creator>
      <dc:date>2017-06-13T12:27:11Z</dc:date>
    </item>
    <item>
      <title>Re: handling future dates from csv</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/handling-future-dates-from-csv/m-p/344569#M63380</link>
      <description>&lt;P&gt;i am uploading csv and using it without specify any index&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jun 2017 12:32:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/handling-future-dates-from-csv/m-p/344569#M63380</guid>
      <dc:creator>dsiob</dc:creator>
      <dc:date>2017-06-13T12:32:15Z</dc:date>
    </item>
    <item>
      <title>Re: handling future dates from csv</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/handling-future-dates-from-csv/m-p/344570#M63381</link>
      <description>&lt;P&gt;You should change that back, create a &lt;CODE&gt;C:\Program Files\Splunk&lt;BR /&gt;
etc\system\local\props.conf&lt;/CODE&gt; file and put in it this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[default]
MAX_DAYS_HENCE=300
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Then, assuming that you are using a splunk all-in-one instance on your personal computer, go to &lt;CODE&gt;Settings&lt;/CODE&gt; -&amp;gt; &lt;CODE&gt;Server controls&lt;/CODE&gt; -&amp;gt; &lt;CODE&gt;Restart&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jun 2017 12:36:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/handling-future-dates-from-csv/m-p/344570#M63381</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-06-13T12:36:27Z</dc:date>
    </item>
    <item>
      <title>Re: handling future dates from csv</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/handling-future-dates-from-csv/m-p/344571#M63382</link>
      <description>&lt;P&gt;thanks Woodcock..its working!&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jun 2017 13:20:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/handling-future-dates-from-csv/m-p/344571#M63382</guid>
      <dc:creator>dsiob</dc:creator>
      <dc:date>2017-06-13T13:20:43Z</dc:date>
    </item>
  </channel>
</rss>

