<?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: How do I configure line breaking for this text file? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-configure-line-breaking-for-this-text-file/m-p/201064#M39730</link>
    <description>&lt;P&gt;I did, it doesn't work. im using GUI for import and events aren't getting split no matter what i do.&lt;/P&gt;</description>
    <pubDate>Thu, 11 Feb 2016 12:54:15 GMT</pubDate>
    <dc:creator>DavidHourani</dc:creator>
    <dc:date>2016-02-11T12:54:15Z</dc:date>
    <item>
      <title>How do I configure line breaking for this text file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-configure-line-breaking-for-this-text-file/m-p/201062#M39728</link>
      <description>&lt;P&gt;Hello Splunkers,&lt;/P&gt;

&lt;P&gt;I'm having an issue with my event break. I have a huge text file with no line breaks that looks something like:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;2016-02-08T12:25:21+01:00blablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablabla 2016-02-08T12:25:21+01:00taablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablabla2016-02-08T12:25:21+01:00blablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablabla2016-02-08T12:25:21+01:00blablablablablablablablablablablablablablablablablablablablablablablablablablablablablabla
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I tried using the &lt;STRONG&gt;BREAK_ONLY_BEFORE&lt;/STRONG&gt; setting and other settings to break my event, but nothing works. Any ideas how I can break this?  &lt;/P&gt;

&lt;P&gt;Regards,&lt;BR /&gt;
David&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 08:47:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-configure-line-breaking-for-this-text-file/m-p/201062#M39728</guid>
      <dc:creator>DavidHourani</dc:creator>
      <dc:date>2020-09-29T08:47:31Z</dc:date>
    </item>
    <item>
      <title>Re: How do I configure line breaking for this text file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-configure-line-breaking-for-this-text-file/m-p/201063#M39729</link>
      <description>&lt;P&gt;Try this.. Make sure you put this stanza in your &lt;CODE&gt;props.conf&lt;/CODE&gt; on the indexer and restart your Splunk service after adding this &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[SOURCE]
 SHOULD_LINEMERGE=true
 BREAK_ONLY_BEFORE = \d{4}\-\d{2}\-\d{2}T\d{2}\:\d{2}\:\d{2}\+\d{2}
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 11 Feb 2016 12:34:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-configure-line-breaking-for-this-text-file/m-p/201063#M39729</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2016-02-11T12:34:59Z</dc:date>
    </item>
    <item>
      <title>Re: How do I configure line breaking for this text file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-configure-line-breaking-for-this-text-file/m-p/201064#M39730</link>
      <description>&lt;P&gt;I did, it doesn't work. im using GUI for import and events aren't getting split no matter what i do.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2016 12:54:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-configure-line-breaking-for-this-text-file/m-p/201064#M39730</guid>
      <dc:creator>DavidHourani</dc:creator>
      <dc:date>2016-02-11T12:54:15Z</dc:date>
    </item>
    <item>
      <title>Re: How do I configure line breaking for this text file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-configure-line-breaking-for-this-text-file/m-p/201065#M39731</link>
      <description>&lt;P&gt;Is there a space between the text and the timestamp in your logs? &lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2016 14:29:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-configure-line-breaking-for-this-text-file/m-p/201065#M39731</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2016-02-11T14:29:04Z</dc:date>
    </item>
    <item>
      <title>Re: How do I configure line breaking for this text file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-configure-line-breaking-for-this-text-file/m-p/201066#M39732</link>
      <description>&lt;P&gt;yeap whitespace right before the timestamps..its all in one huge block. &lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2016 14:36:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-configure-line-breaking-for-this-text-file/m-p/201066#M39732</guid>
      <dc:creator>DavidHourani</dc:creator>
      <dc:date>2016-02-11T14:36:34Z</dc:date>
    </item>
    <item>
      <title>Re: How do I configure line breaking for this text file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-configure-line-breaking-for-this-text-file/m-p/201067#M39733</link>
      <description>&lt;P&gt;I'm confused. There appears to be a space before some of the timestamps but in others there is no space before the timestamp, regex wouldn't pick this up as it doesn't fit a pattern. &lt;/P&gt;

&lt;P&gt;This should work and if not, then I would suggest modifying your log files so it includes a space &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;BREAK_ONLY_BEFORE = \d{4}\-\d{2}\-\d{2}T\d{2}\:\d{2}\:\d{2}\+\d{2}\:\d{2}
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 11 Feb 2016 14:57:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-configure-line-breaking-for-this-text-file/m-p/201067#M39733</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2016-02-11T14:57:06Z</dc:date>
    </item>
  </channel>
</rss>

