<?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: Please help with LINE BREAKING/Truncate issue in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Please-help-with-LINE-BREAKING-Truncate-issue/m-p/550934#M91475</link>
    <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/224632"&gt;@Roy_9&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you said&amp;nbsp;&lt;SPAN&gt;event size is almost close to 25 million bytes I have few questions.&lt;/SPAN&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN&gt;Do you&amp;nbsp;collecting this JSON from&amp;nbsp;any API OR any of your script generating it?&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Is it possible to parse the JSON in your script where you call Splunk HEC api call? If possible them can you extract on required list of event and send it limited number of event to HEC in&amp;nbsp;one shot&amp;nbsp;and other set of events in another shot?&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If this reply helps you, an upvote would be appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&lt;BR /&gt;Kamlesh Vaghela&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 08 May 2021 05:38:18 GMT</pubDate>
    <dc:creator>kamlesh_vaghela</dc:creator>
    <dc:date>2021-05-08T05:38:18Z</dc:date>
    <item>
      <title>Please help with LINE BREAKING/Truncate issue</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Please-help-with-LINE-BREAKING-Truncate-issue/m-p/550737#M91440</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Can anyone please help me with the line breaking and truncate issue which I am seeing for the nested Json events coming via HEC to splunk. This event size is almost close to 25 million bytes where as the truncate limit is set to 10000 only. Due to this event is getting truncated.I was not allowed to set the truncate limit to 0 due to performance issues.I want to break this nested event into multiple events starting from Source_System&lt;/P&gt;&lt;P&gt;Example of an event:&lt;/P&gt;&lt;P&gt;{"sourcetype": "abc_json","index":"test", "event":{"severity":"INFO","logger":"org.mule.runtime.core.internal.processor.LoggerMessageProcessor","time":"XXX","thread":"[MuleRuntime].xxx.123: [App name].post:\\schedules:application\\json:app.CPU_INTENSIVE @xxxx","message":{"correlationId":"XXXX","inputPayload":[{"Source_System":"TEST","Created_By":"ESB","Created_Date_UTC":"1900-XX-01T02:59:14.783Z","Last_Updated_By":"ESB","Last_Updated_Date_UTC":"2020-07-25T03:34:31.91Z",]},{"Source_System":"TEST2","Created_By":"ESB","Created_Date_UTC":"1900-XX-07T02:59:14.783Z","Last_Updated_By":"ESB","Last_Updated_Date_UTC":"1900-XX-25T03:34:31.91Z",]},{"Source_System":"TEST3","Created_By":"ESB","Created_Date_UTC":"2019-08-22T23:27:32.123Z","Last_Updated_By":"ESB","Last_Updated_Date_UTC":"1900-xx-20T01:11:45.35Z",]}}}}'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My current props.conf configuration:&lt;/P&gt;&lt;P&gt;ADD_EXTRA_TIME_FIELDS=True&lt;BR /&gt;ANNOTATE_PUNCT=true&lt;BR /&gt;AUTO_KV_JSON=true&lt;BR /&gt;BREAK_ONLY_BEFORE_DATE=null&lt;BR /&gt;CHARSET=UTF-8&lt;BR /&gt;DEPTH_LIMIT=1000&lt;BR /&gt;DETERMINE_TIMESTAMP_DATE_WITH_SYSTEM_TIME=false&lt;BR /&gt;LB_CHUNK_BREAKER_TRUNCATE=2000000&lt;BR /&gt;LEARN_MODEL=true&lt;BR /&gt;LEARN_SOURCETYPE=true&lt;BR /&gt;LINE_BREAKER=([,|[]){"Source_System":&lt;BR /&gt;LINE_BREAKER_LOOKBEHIND=100&lt;BR /&gt;MATCH_LIMIT=100000&lt;BR /&gt;MAX_DAYS_AGO=2000&lt;BR /&gt;MAX_DAYS_HENCE=2&lt;BR /&gt;MAX_DIFF_SECS_AGO=3600&lt;BR /&gt;MAX_DIFF_SECS_HENCE=604800&lt;BR /&gt;MAX_EVENTS=256&lt;BR /&gt;MAX_TIMESTAMP_LOOKAHEAD=128&lt;BR /&gt;NO_BINARY_CHECK=true&lt;BR /&gt;SEGMENTATION=indexing&lt;BR /&gt;SEGMENTATION-all=full&lt;BR /&gt;SEGMENTATION-inner=inner&lt;BR /&gt;SEGMENTATION-outer=outer&lt;BR /&gt;SEGMENTATION-raw=none&lt;BR /&gt;SEGMENTATION-standard=standard&lt;BR /&gt;SHOULD_LINEMERGE=false&lt;BR /&gt;TRUNCATE=10000&lt;BR /&gt;category=Custom&lt;BR /&gt;detect_trailing_nulls=false&lt;BR /&gt;disabled=false&lt;BR /&gt;maxDist=100&lt;BR /&gt;pulldown_type=true&lt;BR /&gt;termFrequencyWeightedDist=false&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Am i missing something? Any help would be highly appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 06 May 2021 22:54:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Please-help-with-LINE-BREAKING-Truncate-issue/m-p/550737#M91440</guid>
      <dc:creator>Roy_9</dc:creator>
      <dc:date>2021-05-06T22:54:58Z</dc:date>
    </item>
    <item>
      <title>Re: Please help with LINE BREAKING/Truncate issue</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Please-help-with-LINE-BREAKING-Truncate-issue/m-p/550860#M91462</link>
      <description>&lt;P&gt;Did anyone came across this kind of issue? please help me out.&lt;/P&gt;</description>
      <pubDate>Fri, 07 May 2021 16:13:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Please-help-with-LINE-BREAKING-Truncate-issue/m-p/550860#M91462</guid>
      <dc:creator>Roy_9</dc:creator>
      <dc:date>2021-05-07T16:13:58Z</dc:date>
    </item>
    <item>
      <title>Re: Please help with LINE BREAKING/Truncate issue</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Please-help-with-LINE-BREAKING-Truncate-issue/m-p/550934#M91475</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/224632"&gt;@Roy_9&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you said&amp;nbsp;&lt;SPAN&gt;event size is almost close to 25 million bytes I have few questions.&lt;/SPAN&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN&gt;Do you&amp;nbsp;collecting this JSON from&amp;nbsp;any API OR any of your script generating it?&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Is it possible to parse the JSON in your script where you call Splunk HEC api call? If possible them can you extract on required list of event and send it limited number of event to HEC in&amp;nbsp;one shot&amp;nbsp;and other set of events in another shot?&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If this reply helps you, an upvote would be appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&lt;BR /&gt;Kamlesh Vaghela&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 08 May 2021 05:38:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Please-help-with-LINE-BREAKING-Truncate-issue/m-p/550934#M91475</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2021-05-08T05:38:18Z</dc:date>
    </item>
    <item>
      <title>Re: Please help with LINE BREAKING/Truncate issue</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Please-help-with-LINE-BREAKING-Truncate-issue/m-p/550975#M91483</link>
      <description>&lt;P&gt;Hi Kamlesh,&lt;/P&gt;&lt;P&gt;These logs are coming from Mulesoft cloudhub runtime manager via HEC to Splunk cloud. User is sending multiple json logs where only for a particular type of log, it is coming in nested json format where when i execute the search across that source, SH is freezing for a while and i have put the truncate limit to 450000 initially.Now the user is requesting to break this huge set of log into smaller chunks by breaking this event at the key value Source_System&lt;/P&gt;&lt;P&gt;i added a line breaker for this as mentioned above in props file but i had no luck in parsing this event.&lt;/P&gt;</description>
      <pubDate>Sat, 08 May 2021 17:58:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Please-help-with-LINE-BREAKING-Truncate-issue/m-p/550975#M91483</guid>
      <dc:creator>Roy_9</dc:creator>
      <dc:date>2021-05-08T17:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: Please help with LINE BREAKING/Truncate issue</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Please-help-with-LINE-BREAKING-Truncate-issue/m-p/550987#M91485</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/224632"&gt;@Roy_9&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please try this configuration in props.? I tried it with your sample data.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[YOUR_SOURCE_TYPE]
SHOULD_LINEMERGE=false
LINE_BREAKER=}(\,\s){
NO_BINARY_CHECK=true
SEDCMD-a=s/{.*"inputPayload":\s\[//g
SEDCMD-b=s/]}}//g
TRUNCATE=0&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 09 May 2021 08:51:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Please-help-with-LINE-BREAKING-Truncate-issue/m-p/550987#M91485</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2021-05-09T08:51:21Z</dc:date>
    </item>
    <item>
      <title>Re: Please help with LINE BREAKING/Truncate issue</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Please-help-with-LINE-BREAKING-Truncate-issue/m-p/551321#M91517</link>
      <description>&lt;P&gt;Thanks much&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/127939"&gt;@kamlesh_vaghela&lt;/a&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 12 May 2021 06:25:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Please-help-with-LINE-BREAKING-Truncate-issue/m-p/551321#M91517</guid>
      <dc:creator>Roy_9</dc:creator>
      <dc:date>2021-05-12T06:25:24Z</dc:date>
    </item>
  </channel>
</rss>

