<?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: CSV file import, problem with date format in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/CSV-file-import-problem-with-date-format/m-p/305116#M57521</link>
    <description>&lt;P&gt;You will almost certainly have to adjust some other limit settings in order for your events to be indexed, namely &lt;CODE&gt;MAX_DAYS_AGO&lt;/CODE&gt;, otherwise you will see the events skipped with a log like "YourOldTimeHere is outside of the acceptable time window".&lt;/P&gt;</description>
    <pubDate>Mon, 27 Nov 2017 20:40:09 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2017-11-27T20:40:09Z</dc:date>
    <item>
      <title>CSV file import, problem with date format</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/CSV-file-import-problem-with-date-format/m-p/305114#M57519</link>
      <description>&lt;P&gt;I have been trying to onboard at custom dataset into splunk as a csv file. &lt;BR /&gt;
But the dateformat doesnt get right.&lt;/P&gt;

&lt;P&gt;199703260005,1997,3,26,,0,,160,Philippines,5,Southeast &lt;/P&gt;

&lt;P&gt;First is the year 4 digits , then month 2 digits and date 2 digits and a prefix&lt;BR /&gt;
Any suggestions?&lt;BR /&gt;
Thanks in advance&lt;BR /&gt;
/Thomas&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2017 18:58:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/CSV-file-import-problem-with-date-format/m-p/305114#M57519</guid>
      <dc:creator>tompadora</dc:creator>
      <dc:date>2017-11-27T18:58:52Z</dc:date>
    </item>
    <item>
      <title>Re: CSV file import, problem with date format</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/CSV-file-import-problem-with-date-format/m-p/305115#M57520</link>
      <description>&lt;P&gt;Hi tompadora,&lt;/P&gt;

&lt;P&gt;if the time the first combination of &lt;CODE&gt;199703260005&lt;/CODE&gt; then add the following line to your &lt;CODE&gt;props.conf&lt;/CODE&gt;:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[cvsSourceTypeNameHere]
TIME_FORMAT = %Y%m%d
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;if it is the second one &lt;CODE&gt;,1997,3,26&lt;/CODE&gt; then add this to your &lt;CODE&gt;props.conf&lt;/CODE&gt;:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[cvsSourceTypeNameHere]
TIME_PREFIX = \d{12},
TIME_FORMAT = %Y,%m,%d
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Hope this helps ...&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2017 19:29:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/CSV-file-import-problem-with-date-format/m-p/305115#M57520</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2017-11-27T19:29:17Z</dc:date>
    </item>
    <item>
      <title>Re: CSV file import, problem with date format</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/CSV-file-import-problem-with-date-format/m-p/305116#M57521</link>
      <description>&lt;P&gt;You will almost certainly have to adjust some other limit settings in order for your events to be indexed, namely &lt;CODE&gt;MAX_DAYS_AGO&lt;/CODE&gt;, otherwise you will see the events skipped with a log like "YourOldTimeHere is outside of the acceptable time window".&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2017 20:40:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/CSV-file-import-problem-with-date-format/m-p/305116#M57521</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-11-27T20:40:09Z</dc:date>
    </item>
  </channel>
</rss>

