<?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 to break event consisting json data properly in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-break-event-consisting-json-data-properly/m-p/436035#M76100</link>
    <description>&lt;P&gt;Try using this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[source::/path/to/log/dir/*]
SHOULD_LINEMERGE = false
NO_BINARY_CHECK = 1
LINE_BREAKER = ([\r\n]+)(?=\d{4}-\d{2}-\d{2}\s\[)
TRUNCATE = 0
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 12 Jul 2018 15:25:39 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2018-07-12T15:25:39Z</dc:date>
    <item>
      <title>How to break event consisting json data properly</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-break-event-consisting-json-data-properly/m-p/436034#M76099</link>
      <description>&lt;P&gt;Hi everyone, I have a log file of the below pattern:&lt;BR /&gt;
2018-05-24 [POST] 8.8.8.8 GET /api {&lt;BR /&gt;
    json: data&lt;BR /&gt;
}&lt;BR /&gt;
And it is not breaking properly.&lt;BR /&gt;
the event is cut in the middle of the json data.&lt;BR /&gt;
my props.conf is as follows:&lt;BR /&gt;
[source::/path/to/log/dir/*]&lt;BR /&gt;
SHOULD_LINEMERGE = false&lt;BR /&gt;
NO_BINARY_CHECK = 1&lt;BR /&gt;
LINE_BREAKER = (?:}) ([\r\n]+)&lt;BR /&gt;
TRUNCATE = 0&lt;/P&gt;

&lt;P&gt;Please help me understand this better...&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 20:25:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-break-event-consisting-json-data-properly/m-p/436034#M76099</guid>
      <dc:creator>stamstam</dc:creator>
      <dc:date>2020-09-29T20:25:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to break event consisting json data properly</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-break-event-consisting-json-data-properly/m-p/436035#M76100</link>
      <description>&lt;P&gt;Try using this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[source::/path/to/log/dir/*]
SHOULD_LINEMERGE = false
NO_BINARY_CHECK = 1
LINE_BREAKER = ([\r\n]+)(?=\d{4}-\d{2}-\d{2}\s\[)
TRUNCATE = 0
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 12 Jul 2018 15:25:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-break-event-consisting-json-data-properly/m-p/436035#M76100</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2018-07-12T15:25:39Z</dc:date>
    </item>
  </channel>
</rss>

