<?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 Event not showing full log entry.. newline issue? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Event-not-showing-full-log-entry-newline-issue/m-p/342637#M93623</link>
    <description>&lt;P&gt;For some reason Splunk is indexing one of my log files a bit oddly. In the following excerpt, the Splunk event is only displaying up to the Patch Description line. The previous 20 lines of the log are being indexed without a problem, and I can not figure out why it's stopping here. If I move the "Created..." line to the same line as "Patch Description.. ", I see Created, but then the next line is cutoff. I tried re-entering the newline in between the strings, but that didn't make a difference.. It has to be a newline issue since moving it onto the same line indexes, but I can not for the life of me figure out why splunk is treating some newlines different than others.. &lt;/P&gt;

&lt;P&gt;Anyone have any insight on this?&lt;/P&gt;

&lt;P&gt;Unique Patch ID:  198774662&lt;BR /&gt;
Patch description:  "One-off"&lt;BR /&gt;
Created on 9 May2016, 00:43:09 hrs UTC&lt;BR /&gt;
Bugs fixed:&lt;/P&gt;</description>
    <pubDate>Sun, 17 Dec 2017 16:35:00 GMT</pubDate>
    <dc:creator>clamendola</dc:creator>
    <dc:date>2017-12-17T16:35:00Z</dc:date>
    <item>
      <title>Event not showing full log entry.. newline issue?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Event-not-showing-full-log-entry-newline-issue/m-p/342637#M93623</link>
      <description>&lt;P&gt;For some reason Splunk is indexing one of my log files a bit oddly. In the following excerpt, the Splunk event is only displaying up to the Patch Description line. The previous 20 lines of the log are being indexed without a problem, and I can not figure out why it's stopping here. If I move the "Created..." line to the same line as "Patch Description.. ", I see Created, but then the next line is cutoff. I tried re-entering the newline in between the strings, but that didn't make a difference.. It has to be a newline issue since moving it onto the same line indexes, but I can not for the life of me figure out why splunk is treating some newlines different than others.. &lt;/P&gt;

&lt;P&gt;Anyone have any insight on this?&lt;/P&gt;

&lt;P&gt;Unique Patch ID:  198774662&lt;BR /&gt;
Patch description:  "One-off"&lt;BR /&gt;
Created on 9 May2016, 00:43:09 hrs UTC&lt;BR /&gt;
Bugs fixed:&lt;/P&gt;</description>
      <pubDate>Sun, 17 Dec 2017 16:35:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Event-not-showing-full-log-entry-newline-issue/m-p/342637#M93623</guid>
      <dc:creator>clamendola</dc:creator>
      <dc:date>2017-12-17T16:35:00Z</dc:date>
    </item>
    <item>
      <title>Re: Event not showing full log entry.. newline issue?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Event-not-showing-full-log-entry-newline-issue/m-p/342638#M93624</link>
      <description>&lt;P&gt;It is probably because the line after the Patch Description has a date. If you haven't defined how the line breaking is done, Splunk likes to use the line &lt;STRONG&gt;with&lt;/STRONG&gt; the date as the first line of an event. I would suggest putting the line breaker information in the &lt;CODE&gt;props.conf&lt;/CODE&gt; file.&lt;/P&gt;</description>
      <pubDate>Sun, 17 Dec 2017 18:57:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Event-not-showing-full-log-entry-newline-issue/m-p/342638#M93624</guid>
      <dc:creator>cpetterborg</dc:creator>
      <dc:date>2017-12-17T18:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: Event not showing full log entry.. newline issue?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Event-not-showing-full-log-entry-newline-issue/m-p/342639#M93625</link>
      <description>&lt;P&gt;Hm.. That would make sense. Is there any way to escape the dates in the log file so that splunk doesn't read them as new entries? I can change how the log is written, but the dates are necessary. &lt;/P&gt;

&lt;P&gt;I'm trying to avoid adding anything to the props.conf file as I don't want any global changes affecting how the other logs on these servers are being indexed. &lt;/P&gt;</description>
      <pubDate>Sun, 17 Dec 2017 19:25:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Event-not-showing-full-log-entry-newline-issue/m-p/342639#M93625</guid>
      <dc:creator>clamendola</dc:creator>
      <dc:date>2017-12-17T19:25:32Z</dc:date>
    </item>
    <item>
      <title>Re: Event not showing full log entry.. newline issue?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Event-not-showing-full-log-entry-newline-issue/m-p/342640#M93626</link>
      <description>&lt;P&gt;There isn't a way to make it avoid looking at the date for the line breaker that I know of without specifying it in the &lt;CODE&gt;props.conf&lt;/CODE&gt; file. And since we are on that subject, the &lt;CODE&gt;sourcetype&lt;/CODE&gt; is what you tie the &lt;CODE&gt;props.conf&lt;/CODE&gt; definition to for the line break (it's not global), so it should not affect other data coming in. Use something like:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[your_source_type]
BREAK_ONLY_BEFORE=^Unique Patch ID:
DATE_FORMAT=&amp;lt;yourdateformathere&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 17 Dec 2017 21:56:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Event-not-showing-full-log-entry-newline-issue/m-p/342640#M93626</guid>
      <dc:creator>cpetterborg</dc:creator>
      <dc:date>2017-12-17T21:56:23Z</dc:date>
    </item>
  </channel>
</rss>

