<?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: Raw import not getting the full data. Is this a CR/LF issue that can be fixed with a configuration file edit? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Raw-import-not-getting-the-full-data-Is-this-a-CR-LF-issue-that/m-p/337508#M62330</link>
    <description>&lt;P&gt;I will give that a try.  I tried &lt;/P&gt;

&lt;P&gt;BREAK_ONLY_BEFORE = ^\d\d\d\d-\d\d-\d\d\s\d\d:\d\d:\d\d,\d\d\d\s*[[]\d*[]]&lt;/P&gt;

&lt;P&gt;and that seemed to work.&lt;/P&gt;

&lt;P&gt;Many thanks&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 13:45:06 GMT</pubDate>
    <dc:creator>ipicbc</dc:creator>
    <dc:date>2020-09-29T13:45:06Z</dc:date>
    <item>
      <title>Raw import not getting the full data. Is this a CR/LF issue that can be fixed with a configuration file edit?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Raw-import-not-getting-the-full-data-Is-this-a-CR-LF-issue-that/m-p/337506#M62328</link>
      <description>&lt;P&gt;I am not getting the full event on ingestion from a log file.  I am assuming it's a CR/LF problem that would be fixed by a config file tweak.&lt;/P&gt;

&lt;P&gt;This is some data :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;2017-04-18 04:00:53,373 [6968] INFO  BatchLog - Will execute jobName: QP_EODSnapshotBase with JobTask: DailyTradeSnapshotJobTask.

2017-04-18 04:02:55,224 [6968] INFO  BatchLog - Job Name:   QP_EODSnapshotBase
JobTask:    DailyTradeSnapshotJobTask
Start Time: 18/04/2017 04:00
End Time:   18/04/2017 04:02


2017-04-18 04:02:55,240 [6968] INFO  BatchLog - Exclusion list retrieved for jobName QP_EODSnapshotEnergy : 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Each line ends with a CR/LF.  The first and last records in the snippet import OK, the middle one does not bring in the lines with Start Time and End Time.  &lt;/P&gt;

&lt;P&gt;Here is the props.conf entry for this sourcetype:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[qpbatch]
DATETIME_CONFIG = 
NO_BINARY_CHECK = true
category = Custom
pulldown_type = 1
BREAK_ONLY_BEFORE_DATE = True
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Perhaps I am breaking the break_only_before_date logic because there is a date on those lines?!?!?!?&lt;/P&gt;

&lt;P&gt;Any thoughts as to why this happens?&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 13:44:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Raw-import-not-getting-the-full-data-Is-this-a-CR-LF-issue-that/m-p/337506#M62328</guid>
      <dc:creator>ipicbc</dc:creator>
      <dc:date>2020-09-29T13:44:48Z</dc:date>
    </item>
    <item>
      <title>Re: Raw import not getting the full data. Is this a CR/LF issue that can be fixed with a configuration file edit?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Raw-import-not-getting-the-full-data-Is-this-a-CR-LF-issue-that/m-p/337507#M62329</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Have a go with this for your props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[qpbatch]
TIME_PREFIX = ^
TIME_FORMAT = %Y-%m-%d %H:%M:%S,%3Q
MAX_TIMESTAMP_LOOKAHEAD = 23
SHOULD_LINEMERGE = True
BREAK_ONLY_BEFORE_TIME = True
TRUNCATE = 10000
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This way you're telling Splunk that the timestamp starts at the beginning of lines and the exact format to look for.&lt;/P&gt;

&lt;P&gt;I did a quick test and got this:&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/2801iB0F84D1FC72263AA/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;See if that helps you get closer to a solution.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2017 19:37:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Raw-import-not-getting-the-full-data-Is-this-a-CR-LF-issue-that/m-p/337507#M62329</guid>
      <dc:creator>gvmorley</dc:creator>
      <dc:date>2017-04-18T19:37:13Z</dc:date>
    </item>
    <item>
      <title>Re: Raw import not getting the full data. Is this a CR/LF issue that can be fixed with a configuration file edit?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Raw-import-not-getting-the-full-data-Is-this-a-CR-LF-issue-that/m-p/337508#M62330</link>
      <description>&lt;P&gt;I will give that a try.  I tried &lt;/P&gt;

&lt;P&gt;BREAK_ONLY_BEFORE = ^\d\d\d\d-\d\d-\d\d\s\d\d:\d\d:\d\d,\d\d\d\s*[[]\d*[]]&lt;/P&gt;

&lt;P&gt;and that seemed to work.&lt;/P&gt;

&lt;P&gt;Many thanks&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 13:45:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Raw-import-not-getting-the-full-data-Is-this-a-CR-LF-issue-that/m-p/337508#M62330</guid>
      <dc:creator>ipicbc</dc:creator>
      <dc:date>2020-09-29T13:45:06Z</dc:date>
    </item>
  </channel>
</rss>

