<?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: Uploading a CSV file, why am I getting error &amp;quot;Unable to parse timestamp&amp;quot; when I set source to CSV? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Uploading-a-CSV-file-why-am-I-getting-error-quot-Unable-to-parse/m-p/155141#M31527</link>
    <description>&lt;P&gt;I pasted that into the right file but I'm still have the same issues. Is there anything wrong here?&lt;/P&gt;

&lt;P&gt;What I have in the file is:&lt;BR /&gt;
[SampleR1_csv]&lt;BR /&gt;
INDEXED_EXTRACTIONS = csv&lt;BR /&gt;
KV_MODE = none&lt;BR /&gt;
NO_BINARY_CHECK = true&lt;BR /&gt;
SHOULD_LINEMERGE = false&lt;BR /&gt;
TIMESTAMP_FIELDS = When&lt;BR /&gt;
TIME_FORMAT = dd/mm/yy&lt;BR /&gt;
TZ = Europe/Dublin&lt;BR /&gt;
category = Structured&lt;BR /&gt;
description = Comma-separated value format. Set header and other settings in "Delimited Settings"&lt;BR /&gt;
disabled = false&lt;BR /&gt;
pulldown_type = true&lt;/P&gt;

&lt;P&gt;[ csv ]&lt;BR /&gt;
TIME_FORMAT=%Y %-m %-d %H %M %S&lt;BR /&gt;
TIMESTAMP_FIELDS=YEAR,MONTH,DAY,HOUR,MINUTE,SECOND&lt;BR /&gt;
SHOULD_LINEMERGE=false&lt;BR /&gt;
INDEXED_EXTRACTIONS=csv&lt;BR /&gt;
FIELD_DELIMITER=;&lt;BR /&gt;
NO_BINARY_CHECK=true&lt;BR /&gt;
KV_MODE=none&lt;BR /&gt;
disabled=false&lt;BR /&gt;
pulldown_type=true&lt;/P&gt;

&lt;P&gt;[default]&lt;BR /&gt;
max_days_ago = 2555&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 20:15:51 GMT</pubDate>
    <dc:creator>Scan001</dc:creator>
    <dc:date>2020-09-28T20:15:51Z</dc:date>
    <item>
      <title>Uploading a CSV file, why am I getting error "Unable to parse timestamp" when I set source to CSV?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Uploading-a-CSV-file-why-am-I-getting-error-quot-Unable-to-parse/m-p/155131#M31517</link>
      <description>&lt;P&gt;i am trying to upload a csv file.  When I set source to CSV, I get an error "unable to parse timestamp", defaulting to file modtime.  There is a field called Timestamp with date format dd/mm/yy.  I have tried multiple different file formats and setting the Timestamp options, nothing works.  Can anyone advise how to resolve this?&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jun 2015 10:41:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Uploading-a-CSV-file-why-am-I-getting-error-quot-Unable-to-parse/m-p/155131#M31517</guid>
      <dc:creator>Scan001</dc:creator>
      <dc:date>2015-06-12T10:41:08Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading a CSV file, why am I getting error "Unable to parse timestamp" when I set source to CSV?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Uploading-a-CSV-file-why-am-I-getting-error-quot-Unable-to-parse/m-p/155132#M31518</link>
      <description>&lt;P&gt;Have you tried putting "%d/%m/%y" in the 'Timestamp format' box and also putting "Timestamp" in the "Specify all the fields which constitute the timestamp" box (all on the Timestamp tab of the Data Preview window)?&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jun 2015 12:59:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Uploading-a-CSV-file-why-am-I-getting-error-quot-Unable-to-parse/m-p/155132#M31518</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2015-06-12T12:59:34Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading a CSV file, why am I getting error "Unable to parse timestamp" when I set source to CSV?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Uploading-a-CSV-file-why-am-I-getting-error-quot-Unable-to-parse/m-p/155133#M31519</link>
      <description>&lt;P&gt;Hi richgalloway.&lt;BR /&gt;
I tried the steps you suggested and I'm still having problems.  After the import, the "Time" column is populated with todays date,  for some reason it will not extract the date from my "date field".  I have imported other data files without this issue arising.  I will add the csv file I'm importing started as a sql file on a different machine.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jun 2015 13:36:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Uploading-a-CSV-file-why-am-I-getting-error-quot-Unable-to-parse/m-p/155133#M31519</guid>
      <dc:creator>Scan001</dc:creator>
      <dc:date>2015-06-12T13:36:57Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading a CSV file, why am I getting error "Unable to parse timestamp" when I set source to CSV?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Uploading-a-CSV-file-why-am-I-getting-error-quot-Unable-to-parse/m-p/155134#M31520</link>
      <description>&lt;P&gt;I suspect there's something a little off in your CSV that is confusing Splunk.  Can you share a few lines of it?&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jun 2015 13:40:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Uploading-a-CSV-file-why-am-I-getting-error-quot-Unable-to-parse/m-p/155134#M31520</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2015-06-12T13:40:17Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading a CSV file, why am I getting error "Unable to parse timestamp" when I set source to CSV?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Uploading-a-CSV-file-why-am-I-getting-error-quot-Unable-to-parse/m-p/155135#M31521</link>
      <description>&lt;P&gt;The following the first couple of lines of the file.  (It has millions of events)&lt;/P&gt;

&lt;P&gt;Thanks &lt;/P&gt;

&lt;P&gt;When,EventID,ACT_Stamp,Event,Controller,Door,EventData,OriginalForename,OriginalSurname,&lt;BR /&gt;
08/04/08,2,818806798,50,20,10,1896,Name,Name,&lt;BR /&gt;
08/04/08,3,818806808,11,13,5,0,,,&lt;BR /&gt;
08/04/08,4,818806827,50,15,3,4259,A8,,&lt;BR /&gt;
08/04/08,5,818806843,11,13,5,0,,,&lt;BR /&gt;
08/04/08,6,818806848,11,20,10,0,,,&lt;BR /&gt;
08/04/08,7,818806873,50,20,5,6758,Name,Name,&lt;BR /&gt;
08/04/08,8,818806876,11,13,5,0,,,&lt;BR /&gt;
08/04/08,9,818806919,11,13,5,0,,,&lt;BR /&gt;
08/04/08,10,818806920,50,15,4,4259,A8,,&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jun 2015 13:44:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Uploading-a-CSV-file-why-am-I-getting-error-quot-Unable-to-parse/m-p/155135#M31521</guid>
      <dc:creator>Scan001</dc:creator>
      <dc:date>2015-06-12T13:44:04Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading a CSV file, why am I getting error "Unable to parse timestamp" when I set source to CSV?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Uploading-a-CSV-file-why-am-I-getting-error-quot-Unable-to-parse/m-p/155136#M31522</link>
      <description>&lt;P&gt;I can reproduce the problem using your sample data.  Assuming the dates are accurate, the problem appears to lie with the 7-year-old dates.  Try adjusting your MAX_DAYS_AGO setting in props.conf.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 20:13:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Uploading-a-CSV-file-why-am-I-getting-error-quot-Unable-to-parse/m-p/155136#M31522</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-09-28T20:13:45Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading a CSV file, why am I getting error "Unable to parse timestamp" when I set source to CSV?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Uploading-a-CSV-file-why-am-I-getting-error-quot-Unable-to-parse/m-p/155137#M31523</link>
      <description>&lt;P&gt;I'm new to SPLUNK so I had to do a search for props.conf file and a number of files turn up.  Which one do I change. is it /etc/users/admin/search/local/&lt;/P&gt;

&lt;P&gt;Many thanks&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jun 2015 14:04:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Uploading-a-CSV-file-why-am-I-getting-error-quot-Unable-to-parse/m-p/155137#M31523</guid>
      <dc:creator>Scan001</dc:creator>
      <dc:date>2015-06-12T14:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading a CSV file, why am I getting error "Unable to parse timestamp" when I set source to CSV?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Uploading-a-CSV-file-why-am-I-getting-error-quot-Unable-to-parse/m-p/155138#M31524</link>
      <description>&lt;P&gt;I changed the variable in /etc/system/default/props.conf. &lt;/P&gt;

&lt;P&gt;I get a error "failed to parse timestamp default to modtime"&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jun 2015 14:59:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Uploading-a-CSV-file-why-am-I-getting-error-quot-Unable-to-parse/m-p/155138#M31524</guid>
      <dc:creator>Scan001</dc:creator>
      <dc:date>2015-06-12T14:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading a CSV file, why am I getting error "Unable to parse timestamp" when I set source to CSV?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Uploading-a-CSV-file-why-am-I-getting-error-quot-Unable-to-parse/m-p/155139#M31525</link>
      <description>&lt;P&gt;I changed the variable in /etc/system/default/props.conf. &lt;/P&gt;

&lt;P&gt;I get a error "failed to parse timestamp default to modtime"&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jun 2015 14:59:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Uploading-a-CSV-file-why-am-I-getting-error-quot-Unable-to-parse/m-p/155139#M31525</guid>
      <dc:creator>Scan001</dc:creator>
      <dc:date>2015-06-12T14:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading a CSV file, why am I getting error "Unable to parse timestamp" when I set source to CSV?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Uploading-a-CSV-file-why-am-I-getting-error-quot-Unable-to-parse/m-p/155140#M31526</link>
      <description>&lt;P&gt;One should never modify a file in a 'default' directory.  You risk the changes getting lost the next time you upgrade Splunk.  Instead, copy the relevant stanza to the same-named file in the 'local' directory and make your changes there.  In your case, the etc/system/local/props.conf file should contain&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[default]
max_days_ago = 2555
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Splunk must be restarted for the changes to take effect.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jun 2015 16:23:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Uploading-a-CSV-file-why-am-I-getting-error-quot-Unable-to-parse/m-p/155140#M31526</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2015-06-12T16:23:00Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading a CSV file, why am I getting error "Unable to parse timestamp" when I set source to CSV?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Uploading-a-CSV-file-why-am-I-getting-error-quot-Unable-to-parse/m-p/155141#M31527</link>
      <description>&lt;P&gt;I pasted that into the right file but I'm still have the same issues. Is there anything wrong here?&lt;/P&gt;

&lt;P&gt;What I have in the file is:&lt;BR /&gt;
[SampleR1_csv]&lt;BR /&gt;
INDEXED_EXTRACTIONS = csv&lt;BR /&gt;
KV_MODE = none&lt;BR /&gt;
NO_BINARY_CHECK = true&lt;BR /&gt;
SHOULD_LINEMERGE = false&lt;BR /&gt;
TIMESTAMP_FIELDS = When&lt;BR /&gt;
TIME_FORMAT = dd/mm/yy&lt;BR /&gt;
TZ = Europe/Dublin&lt;BR /&gt;
category = Structured&lt;BR /&gt;
description = Comma-separated value format. Set header and other settings in "Delimited Settings"&lt;BR /&gt;
disabled = false&lt;BR /&gt;
pulldown_type = true&lt;/P&gt;

&lt;P&gt;[ csv ]&lt;BR /&gt;
TIME_FORMAT=%Y %-m %-d %H %M %S&lt;BR /&gt;
TIMESTAMP_FIELDS=YEAR,MONTH,DAY,HOUR,MINUTE,SECOND&lt;BR /&gt;
SHOULD_LINEMERGE=false&lt;BR /&gt;
INDEXED_EXTRACTIONS=csv&lt;BR /&gt;
FIELD_DELIMITER=;&lt;BR /&gt;
NO_BINARY_CHECK=true&lt;BR /&gt;
KV_MODE=none&lt;BR /&gt;
disabled=false&lt;BR /&gt;
pulldown_type=true&lt;/P&gt;

&lt;P&gt;[default]&lt;BR /&gt;
max_days_ago = 2555&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 20:15:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Uploading-a-CSV-file-why-am-I-getting-error-quot-Unable-to-parse/m-p/155141#M31527</guid>
      <dc:creator>Scan001</dc:creator>
      <dc:date>2020-09-28T20:15:51Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading a CSV file, why am I getting error "Unable to parse timestamp" when I set source to CSV?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Uploading-a-CSV-file-why-am-I-getting-error-quot-Unable-to-parse/m-p/155142#M31528</link>
      <description>&lt;P&gt;have a look at answer:&lt;BR /&gt;
&lt;A href="http://answers.splunk.com/answers/2672/defining-timestamp-on-data-from-csv-file.html"&gt;http://answers.splunk.com/answers/2672/defining-timestamp-on-data-from-csv-file.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 13 Jun 2015 19:55:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Uploading-a-CSV-file-why-am-I-getting-error-quot-Unable-to-parse/m-p/155142#M31528</guid>
      <dc:creator>koshyk</dc:creator>
      <dc:date>2015-06-13T19:55:19Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading a CSV file, why am I getting error "Unable to parse timestamp" when I set source to CSV?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Uploading-a-CSV-file-why-am-I-getting-error-quot-Unable-to-parse/m-p/155143#M31529</link>
      <description>&lt;P&gt;Did you restart Splunk after editing the file?  If you have a separate indexer, the file must be modified there and the indexer restarted.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jun 2015 11:20:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Uploading-a-CSV-file-why-am-I-getting-error-quot-Unable-to-parse/m-p/155143#M31529</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2015-06-15T11:20:56Z</dc:date>
    </item>
  </channel>
</rss>

