<?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: Current date time in whiile reading from CSV in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Current-date-time-in-whiile-reading-from-CSV/m-p/141535#M28982</link>
    <description>&lt;P&gt;Thanks i have added this and solved&lt;/P&gt;</description>
    <pubDate>Fri, 07 Feb 2014 08:57:17 GMT</pubDate>
    <dc:creator>jimjohn</dc:creator>
    <dc:date>2014-02-07T08:57:17Z</dc:date>
    <item>
      <title>Current date time in whiile reading from CSV</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Current-date-time-in-whiile-reading-from-CSV/m-p/141533#M28980</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;How can i add current time to _time filed while reading data from CSV file.&lt;BR /&gt;
I have added below in Splunk\etc\system\default\props.conf&lt;BR /&gt;
[csv]&lt;BR /&gt;
URRENT&lt;BR /&gt;
TIME_FORMAT = %y-%m-%d %H:%M:%S&lt;BR /&gt;
But it seems date is taking from file name. My file name is like ABC20140107.&lt;BR /&gt;
I want current time in _time field.How can i achieve this.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 15:49:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Current-date-time-in-whiile-reading-from-CSV/m-p/141533#M28980</guid>
      <dc:creator>jimjohn</dc:creator>
      <dc:date>2020-09-28T15:49:35Z</dc:date>
    </item>
    <item>
      <title>Re: Current date time in whiile reading from CSV</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Current-date-time-in-whiile-reading-from-CSV/m-p/141534#M28981</link>
      <description>&lt;P&gt;Use this props.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[csv]
DATETIME_CONFIG = CURRENT
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;regards&lt;/P&gt;</description>
      <pubDate>Fri, 07 Feb 2014 08:42:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Current-date-time-in-whiile-reading-from-CSV/m-p/141534#M28981</guid>
      <dc:creator>gfuente</dc:creator>
      <dc:date>2014-02-07T08:42:57Z</dc:date>
    </item>
    <item>
      <title>Re: Current date time in whiile reading from CSV</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Current-date-time-in-whiile-reading-from-CSV/m-p/141535#M28982</link>
      <description>&lt;P&gt;Thanks i have added this and solved&lt;/P&gt;</description>
      <pubDate>Fri, 07 Feb 2014 08:57:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Current-date-time-in-whiile-reading-from-CSV/m-p/141535#M28982</guid>
      <dc:creator>jimjohn</dc:creator>
      <dc:date>2014-02-07T08:57:17Z</dc:date>
    </item>
  </channel>
</rss>

