<?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: Parsing Time error while monitoring CSV file in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Parsing-Time-error-while-monitoring-CSV-file/m-p/232188#M45267</link>
    <description>&lt;P&gt;My bad...!&lt;/P&gt;

&lt;P&gt;I just noticed that the DATE field was not read by splunkd because I had one header extra in the header line, which literally pushed the DATE values mapped to a wrong column.&lt;/P&gt;

&lt;P&gt;Changed that and it is working perfectly.&lt;/P&gt;</description>
    <pubDate>Mon, 21 Sep 2015 12:24:41 GMT</pubDate>
    <dc:creator>ishaanshekhar</dc:creator>
    <dc:date>2015-09-21T12:24:41Z</dc:date>
    <item>
      <title>Parsing Time error while monitoring CSV file</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Parsing-Time-error-while-monitoring-CSV-file/m-p/232186#M45265</link>
      <description>&lt;P&gt;Dear SPLUNK Community,&lt;/P&gt;

&lt;P&gt;I need some help for parsing output time field correctly. I am monitoring the csv file on UF and reading it on Indexer.&lt;/P&gt;

&lt;P&gt;Here's the sample how the file looks like:&lt;/P&gt;

&lt;P&gt;DB_NAME,STATUS,DATE&lt;BR /&gt;
DB_1,UP,2015-09-2109:19:03.450 &lt;BR /&gt;
DB_2,DOWN,2015-09-2109:19:04.830 &lt;BR /&gt;
...&lt;BR /&gt;
...&lt;/P&gt;

&lt;P&gt;Configuration Details:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;&lt;P&gt;On UF:&lt;BR /&gt;
  inputs.conf:&lt;BR /&gt;
[monitor://.....&amp;lt;path of file&amp;gt;]&lt;BR /&gt;
disabled = 0&lt;BR /&gt;
sourcetype = health&lt;/P&gt;

&lt;P&gt;props.conf:&lt;/P&gt;&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;[health]&lt;BR /&gt;
INDEXED_EXTRACTIONS = csv&lt;BR /&gt;
HEADER_FIELD_LINE_NUMBER = 1&lt;BR /&gt;
TIMESTAMP_FIELDS = DATE&lt;BR /&gt;
NO_BINARY_CHECK = true&lt;BR /&gt;
TIME_FORMAT = %Y-%m-%d%H:%M:%S.%3N&lt;BR /&gt;
TZ = UTC&lt;BR /&gt;
SHOULD_LINEMERGE = false&lt;/P&gt;

&lt;P&gt;-On Indexer:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; props.conf
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;[health]&lt;BR /&gt;
TIME_FORMAT = %Y-%m-%d%H:%M:%S.%3N&lt;BR /&gt;
TZ = UTC&lt;BR /&gt;
SHOULD_LINEMERGE = false&lt;/P&gt;

&lt;P&gt;Please Note: SPLUNK is still indexing the file, but looks like the timestamp it assigns is of current date, instead of the DATE column value.&lt;/P&gt;

&lt;P&gt;Thanks in advance!&lt;BR /&gt;
Ishaan&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 07:18:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Parsing-Time-error-while-monitoring-CSV-file/m-p/232186#M45265</guid>
      <dc:creator>ishaanshekhar</dc:creator>
      <dc:date>2020-09-29T07:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing Time error while monitoring CSV file</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Parsing-Time-error-while-monitoring-CSV-file/m-p/232187#M45266</link>
      <description>&lt;P&gt;Copy the [health] stanza from your forwarder's props.conf file to your indexer and restart the indexer.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Sep 2015 11:09:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Parsing-Time-error-while-monitoring-CSV-file/m-p/232187#M45266</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2015-09-21T11:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing Time error while monitoring CSV file</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Parsing-Time-error-while-monitoring-CSV-file/m-p/232188#M45267</link>
      <description>&lt;P&gt;My bad...!&lt;/P&gt;

&lt;P&gt;I just noticed that the DATE field was not read by splunkd because I had one header extra in the header line, which literally pushed the DATE values mapped to a wrong column.&lt;/P&gt;

&lt;P&gt;Changed that and it is working perfectly.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Sep 2015 12:24:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Parsing-Time-error-while-monitoring-CSV-file/m-p/232188#M45267</guid>
      <dc:creator>ishaanshekhar</dc:creator>
      <dc:date>2015-09-21T12:24:41Z</dc:date>
    </item>
  </channel>
</rss>

