<?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 Getting date and time from CSV in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Getting-date-and-time-from-CSV/m-p/113865#M23827</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;This is on Splunk 5 and I have a csv file sample header as foo,foo2,foo3,foo4,foo5,foo6&lt;BR /&gt;
The date is on foo3 as 17/5/13 and the time is on foo5 as 815  &lt;/P&gt;

&lt;P&gt;I have the below in my props&lt;BR /&gt;&lt;BR /&gt;
  [stype]&lt;BR /&gt;&lt;BR /&gt;
  INDEXED_EXTRACTIONS = CSV&lt;BR /&gt;&lt;BR /&gt;
  TIMESTAMP_FIELDS = foo3,foo5&lt;BR /&gt;&lt;BR /&gt;
  TIME_FORMAT=%d-%m-%y %H%M&lt;BR /&gt;&lt;BR /&gt;
  SHOULD_LINEMERGE = False&lt;BR /&gt;&lt;BR /&gt;
  pulldown_type = 1&lt;BR /&gt;&lt;BR /&gt;
  HEADER_FIELD_LINE_NUMBER = 1&lt;BR /&gt;&lt;BR /&gt;
  REPORT-stype = stype_extract&lt;BR /&gt;&lt;BR /&gt;
  and transform&lt;BR /&gt;&lt;BR /&gt;
  [stype_extract]&lt;BR /&gt;&lt;BR /&gt;
  DELIMS=","&lt;BR /&gt;&lt;BR /&gt;
  FIELDS = "foo1", "foo2", "foo3", "foo4", "foo5",&lt;BR /&gt;&lt;BR /&gt;
  Please kindly advise where i am missing. Thanks&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 15:04:03 GMT</pubDate>
    <dc:creator>psow_splunk</dc:creator>
    <dc:date>2020-09-28T15:04:03Z</dc:date>
    <item>
      <title>Getting date and time from CSV</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Getting-date-and-time-from-CSV/m-p/113865#M23827</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;This is on Splunk 5 and I have a csv file sample header as foo,foo2,foo3,foo4,foo5,foo6&lt;BR /&gt;
The date is on foo3 as 17/5/13 and the time is on foo5 as 815  &lt;/P&gt;

&lt;P&gt;I have the below in my props&lt;BR /&gt;&lt;BR /&gt;
  [stype]&lt;BR /&gt;&lt;BR /&gt;
  INDEXED_EXTRACTIONS = CSV&lt;BR /&gt;&lt;BR /&gt;
  TIMESTAMP_FIELDS = foo3,foo5&lt;BR /&gt;&lt;BR /&gt;
  TIME_FORMAT=%d-%m-%y %H%M&lt;BR /&gt;&lt;BR /&gt;
  SHOULD_LINEMERGE = False&lt;BR /&gt;&lt;BR /&gt;
  pulldown_type = 1&lt;BR /&gt;&lt;BR /&gt;
  HEADER_FIELD_LINE_NUMBER = 1&lt;BR /&gt;&lt;BR /&gt;
  REPORT-stype = stype_extract&lt;BR /&gt;&lt;BR /&gt;
  and transform&lt;BR /&gt;&lt;BR /&gt;
  [stype_extract]&lt;BR /&gt;&lt;BR /&gt;
  DELIMS=","&lt;BR /&gt;&lt;BR /&gt;
  FIELDS = "foo1", "foo2", "foo3", "foo4", "foo5",&lt;BR /&gt;&lt;BR /&gt;
  Please kindly advise where i am missing. Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 15:04:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Getting-date-and-time-from-CSV/m-p/113865#M23827</guid>
      <dc:creator>psow_splunk</dc:creator>
      <dc:date>2020-09-28T15:04:03Z</dc:date>
    </item>
    <item>
      <title>Re: Getting date and time from CSV</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Getting-date-and-time-from-CSV/m-p/113866#M23828</link>
      <description>&lt;P&gt;Well, your date format specifies "-", but the data you say uses "/".&lt;/P&gt;

&lt;P&gt;Also, indexed extractions only work on Splunk 6.0 and higher, not 5.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2013 17:12:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Getting-date-and-time-from-CSV/m-p/113866#M23828</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2013-10-24T17:12:56Z</dc:date>
    </item>
  </channel>
</rss>

