<?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 Issue with csv timestamp extraction in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Issue-with-csv-timestamp-extraction/m-p/61843#M12353</link>
    <description>&lt;P&gt;Hey everyone. All of my input data comes into splunk in .csv format. Each line is a record, and it has numerous timestamps (CDR data). I need to extract the 14th field's timestamp.&lt;/P&gt;

&lt;P&gt;Here are the entries in my props.conf file:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;TIME_PREFIX=^([^,]*,){14}
TIME_FORMAT=%Y%m%d%H%M%S.%q%Z
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I used the regex for the timestamp based on this post here:&lt;BR /&gt;
&lt;A href="http://splunk-base.splunk.com/answers/2062/how-can-i-extract-the-date-from-the-middle-of-an-event"&gt;http://splunk-base.splunk.com/answers/2062/how-can-i-extract-the-date-from-the-middle-of-an-event&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Any advice would be appreciated.&lt;/P&gt;</description>
    <pubDate>Mon, 22 Aug 2011 16:22:12 GMT</pubDate>
    <dc:creator>msarro</dc:creator>
    <dc:date>2011-08-22T16:22:12Z</dc:date>
    <item>
      <title>Issue with csv timestamp extraction</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Issue-with-csv-timestamp-extraction/m-p/61843#M12353</link>
      <description>&lt;P&gt;Hey everyone. All of my input data comes into splunk in .csv format. Each line is a record, and it has numerous timestamps (CDR data). I need to extract the 14th field's timestamp.&lt;/P&gt;

&lt;P&gt;Here are the entries in my props.conf file:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;TIME_PREFIX=^([^,]*,){14}
TIME_FORMAT=%Y%m%d%H%M%S.%q%Z
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I used the regex for the timestamp based on this post here:&lt;BR /&gt;
&lt;A href="http://splunk-base.splunk.com/answers/2062/how-can-i-extract-the-date-from-the-middle-of-an-event"&gt;http://splunk-base.splunk.com/answers/2062/how-can-i-extract-the-date-from-the-middle-of-an-event&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Any advice would be appreciated.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2011 16:22:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Issue-with-csv-timestamp-extraction/m-p/61843#M12353</guid>
      <dc:creator>msarro</dc:creator>
      <dc:date>2011-08-22T16:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with csv timestamp extraction</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Issue-with-csv-timestamp-extraction/m-p/61844#M12354</link>
      <description>&lt;P&gt;Figured it out, I was looking one field too far forward. Thanks to everyone who looked for me!&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2011 17:03:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Issue-with-csv-timestamp-extraction/m-p/61844#M12354</guid>
      <dc:creator>msarro</dc:creator>
      <dc:date>2011-08-22T17:03:24Z</dc:date>
    </item>
  </channel>
</rss>

