<?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: Is this a linebreaking issue? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Is-this-a-linebreaking-issue/m-p/122700#M184182</link>
    <description>&lt;P&gt;It's not working, but I'm not sure I'm doing this right.  These events have a sourcetype of "garbagecollectionlog", and I have in etc/system/local/props.conf&lt;BR /&gt;
[sourcetype::garbagecollectionlog]&lt;BR /&gt;
BREAK_ONLY_BEFORE=\d+.\d+:&lt;BR /&gt;
MAX_TIMESTAMP_LOOKAHEAD=20&lt;BR /&gt;
NO_BINARY_CHECK=1&lt;BR /&gt;
SHOULD_LINEMERGE=true&lt;/P&gt;

&lt;P&gt;Is there anything else I need to do?&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 15:44:53 GMT</pubDate>
    <dc:creator>wardallen</dc:creator>
    <dc:date>2020-09-28T15:44:53Z</dc:date>
    <item>
      <title>Is this a linebreaking issue?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-this-a-linebreaking-issue/m-p/122694#M184176</link>
      <description>&lt;P&gt;I'm collecting events from a logfile that look like this :&lt;/P&gt;

&lt;P&gt;270929.542: [GC 270929.542: [ParNew&lt;BR /&gt;
Desired survivor size 1288490184 bytes, new threshold 16 (max 31)&lt;BR /&gt;
- age   1:   34518968 bytes,   34518968 total&lt;BR /&gt;
- age   2:     257792 bytes,   34776760 total&lt;BR /&gt;
- age  11:      60416 bytes,   34837176 total&lt;BR /&gt;
: 3156097K-&amp;gt;34336K(4718592K), 0.0357680 secs] 3548065K-&amp;gt;426305K(17301504K), 0.0359060 secs]&lt;/P&gt;

&lt;P&gt;However, when I see them in Splunk, I only get the first line.  The entire 6 lines of this log get written to the file at once, but Splunk seems to only be storing the first line.  Does anyone have any ideas as to what could be going on here?  The last line contains the info I really want to work with.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2014 04:17:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-this-a-linebreaking-issue/m-p/122694#M184176</guid>
      <dc:creator>wardallen</dc:creator>
      <dc:date>2014-01-23T04:17:43Z</dc:date>
    </item>
    <item>
      <title>Re: Is this a linebreaking issue?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-this-a-linebreaking-issue/m-p/122695#M184177</link>
      <description>&lt;P&gt;You definitely will need to configure parsing for this source. The issue here is that splunk will be detecting the '1288490184' in the second line as a unix timestamp and using that for that portion of the event.&lt;/P&gt;

&lt;P&gt;Try searching for the period around Sun, 31 Oct 2010 01:56:24 GMT for the rest of your incorrectly indexed data.&lt;/P&gt;

&lt;P&gt;Do you have a timestamp to extract, or is this the complete field?&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2014 05:11:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-this-a-linebreaking-issue/m-p/122695#M184177</guid>
      <dc:creator>datasearchninja</dc:creator>
      <dc:date>2014-01-23T05:11:13Z</dc:date>
    </item>
    <item>
      <title>Re: Is this a linebreaking issue?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-this-a-linebreaking-issue/m-p/122696#M184178</link>
      <description>&lt;P&gt;I guess this log doesn't have a timestamp. I created a log file with sample log provided by you and following setting is allowing me to get correct event breaking and timestamp as file modification time.&lt;/P&gt;

&lt;P&gt;props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[yoursourcetype]
BREAK_ONLY_BEFORE=\d+.\d+:
MAX_TIMESTAMP_LOOKAHEAD=20
NO_BINARY_CHECK=1
SHOULD_LINEMERGE=true
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 23 Jan 2014 06:09:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-this-a-linebreaking-issue/m-p/122696#M184178</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-01-23T06:09:22Z</dc:date>
    </item>
    <item>
      <title>Re: Is this a linebreaking issue?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-this-a-linebreaking-issue/m-p/122697#M184179</link>
      <description>&lt;P&gt;No, there's no timestamp.  I'm dependent on Splunk providing the timestamp as when the event was indexed.&lt;/P&gt;

&lt;P&gt;This props.conf is the one on the indexer, right?&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jan 2014 01:10:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-this-a-linebreaking-issue/m-p/122697#M184179</guid>
      <dc:creator>wardallen</dc:creator>
      <dc:date>2014-01-24T01:10:13Z</dc:date>
    </item>
    <item>
      <title>Re: Is this a linebreaking issue?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-this-a-linebreaking-issue/m-p/122698#M184180</link>
      <description>&lt;P&gt;This is the complete field.&lt;BR /&gt;
And you're right - the rest of the event is there, but under a different timestamp.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jan 2014 01:13:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-this-a-linebreaking-issue/m-p/122698#M184180</guid>
      <dc:creator>wardallen</dc:creator>
      <dc:date>2014-01-24T01:13:41Z</dc:date>
    </item>
    <item>
      <title>Re: Is this a linebreaking issue?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-this-a-linebreaking-issue/m-p/122699#M184181</link>
      <description>&lt;P&gt;Yes this one goes on Indexer.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jan 2014 01:46:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-this-a-linebreaking-issue/m-p/122699#M184181</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-01-24T01:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: Is this a linebreaking issue?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-this-a-linebreaking-issue/m-p/122700#M184182</link>
      <description>&lt;P&gt;It's not working, but I'm not sure I'm doing this right.  These events have a sourcetype of "garbagecollectionlog", and I have in etc/system/local/props.conf&lt;BR /&gt;
[sourcetype::garbagecollectionlog]&lt;BR /&gt;
BREAK_ONLY_BEFORE=\d+.\d+:&lt;BR /&gt;
MAX_TIMESTAMP_LOOKAHEAD=20&lt;BR /&gt;
NO_BINARY_CHECK=1&lt;BR /&gt;
SHOULD_LINEMERGE=true&lt;/P&gt;

&lt;P&gt;Is there anything else I need to do?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 15:44:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-this-a-linebreaking-issue/m-p/122700#M184182</guid>
      <dc:creator>wardallen</dc:creator>
      <dc:date>2020-09-28T15:44:53Z</dc:date>
    </item>
    <item>
      <title>Re: Is this a linebreaking issue?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-this-a-linebreaking-issue/m-p/122701#M184183</link>
      <description>&lt;P&gt;And you restarted splunk after these changes in props.conf&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2014 04:24:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-this-a-linebreaking-issue/m-p/122701#M184183</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-01-29T04:24:14Z</dc:date>
    </item>
    <item>
      <title>Re: Is this a linebreaking issue?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-this-a-linebreaking-issue/m-p/122702#M184184</link>
      <description>&lt;P&gt;Yes.&lt;BR /&gt;&lt;BR /&gt;
I'm playing around with changing the BREAK_ONLY_BEFORE to LINE_BREAK=secs\S\n+ or something similar.&lt;/P&gt;

&lt;P&gt;Is there a reason I wouldn't use LINE_BREAK as opposed to BREAK_ONLY_BEFORE?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 15:45:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-this-a-linebreaking-issue/m-p/122702#M184184</guid>
      <dc:creator>wardallen</dc:creator>
      <dc:date>2020-09-28T15:45:30Z</dc:date>
    </item>
  </channel>
</rss>

