<?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: Issues with multiline events props.conf in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Issues-with-multiline-events-props-conf/m-p/544616#M90850</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/163030"&gt;@sunnyb147&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;You can use builtin _json sourcetype, it will ingest correctly;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[ _json ]
CHARSET=UTF-8
INDEXED_EXTRACTIONS=json
KV_MODE=none
SHOULD_LINEMERGE=true
category=Structured
description=JavaScript Object Notation format. For more information, visit http://json.org/
disabled=false
pulldown_type=true&lt;/LI-CODE&gt;</description>
    <pubDate>Sat, 20 Mar 2021 14:38:50 GMT</pubDate>
    <dc:creator>scelikok</dc:creator>
    <dc:date>2021-03-20T14:38:50Z</dc:date>
    <item>
      <title>Issues with multiline events props.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Issues-with-multiline-events-props-conf/m-p/544561#M90847</link>
      <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;Requesting small help with configuring props.conf which can help me to break the multiline events correctly. These are two types of events which I am trying to ingest for the first one either a part is being ingested or the event is broken for the second one(in a single line) that is ingesting without any issues.&lt;/P&gt;&lt;P&gt;I tried below props.conf but no luck, I am just a newbie therefore requesting your help. For&amp;nbsp;BREAK_ONLY_BEFORE I added the rex so that it can capture and break both types of events.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[testing]
BREAK_ONLY_BEFORE={(\s+|)"transaction-id"(\s+|):(\s+|)"
SHOULD_LINEMERGE=false
NO_BINARY_CHECK=1
TRUNCATE=0
MAX_EVENTS=1024&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;LI-CODE lang="markup"&gt;{
  "transaction-id" : "steve-123",
  "usecase-id" : "123",
  "timestamp" : "2021-03-07T06:51:27,188+0100",
  "timestamp-out" : "2021-03-07T06:51:27,188+0100",
  "component" : "A",
  "payload" : "{\"error\":\"Internal server error\",\"message\":\"Internal server error\",\"description\":\"The server encountered an unexpected condition that prevented it from fulfilling the request\"}",
  "country-code" : "IN",
  "status" : "error",
  "error-code" : "500",
  "error" : "Internal Server Error",
  "message-size" : 176,
  "logpoint" : "response"
}

{"transaction-id":"steve-456","usecase-id":"456","timestamp":"2021-03-07T06:51:27,188+0100","timestamp-out":"2021-03-07T06:51:27,188+0100","component":"B","payload":"{\"error\":\"Internalservererror\",\"message\":\"Internalservererror\",\"description\":\"The server encountered an unexpected condition that prevented it from fulfilling the request\"}","country-code":"IN","status":"error","error-code":"500","error":"Internal Server Error","message-size":176,"logpoint":"response"}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;</description>
      <pubDate>Fri, 19 Mar 2021 18:52:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Issues-with-multiline-events-props-conf/m-p/544561#M90847</guid>
      <dc:creator>sunnyb147</dc:creator>
      <dc:date>2021-03-19T18:52:14Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with multiline events props.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Issues-with-multiline-events-props-conf/m-p/544583#M90848</link>
      <description>&lt;LI-CODE lang="markup"&gt;[testing]
LINE_BREAKER=([\r\n]+){\"transaction-id
SHOULD_LINEMERGE=false
NO_BINARY_CHECK=1
TRUNCATE=0
MAX_EVENTS=1024&lt;/LI-CODE&gt;&lt;P&gt;LINE_BREAKER is better.&lt;/P&gt;</description>
      <pubDate>Sat, 20 Mar 2021 00:01:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Issues-with-multiline-events-props-conf/m-p/544583#M90848</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2021-03-20T00:01:34Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with multiline events props.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Issues-with-multiline-events-props-conf/m-p/544603#M90849</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/184221"&gt;@to4kawa&lt;/a&gt;&amp;nbsp;Thanks for your response, but unfortunately its still the same, the event which is being ingested is broken.&lt;/P&gt;&lt;P&gt;I tried changing the limit of MAX_EVENTS but then too it is not helping &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sunnyb147_0-1616236740043.png" style="width: 1219px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/13404i13AF8C2E762F8E15/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sunnyb147_0-1616236740043.png" alt="sunnyb147_0-1616236740043.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 20 Mar 2021 10:40:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Issues-with-multiline-events-props-conf/m-p/544603#M90849</guid>
      <dc:creator>sunnyb147</dc:creator>
      <dc:date>2021-03-20T10:40:21Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with multiline events props.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Issues-with-multiline-events-props-conf/m-p/544616#M90850</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/163030"&gt;@sunnyb147&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;You can use builtin _json sourcetype, it will ingest correctly;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[ _json ]
CHARSET=UTF-8
INDEXED_EXTRACTIONS=json
KV_MODE=none
SHOULD_LINEMERGE=true
category=Structured
description=JavaScript Object Notation format. For more information, visit http://json.org/
disabled=false
pulldown_type=true&lt;/LI-CODE&gt;</description>
      <pubDate>Sat, 20 Mar 2021 14:38:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Issues-with-multiline-events-props-conf/m-p/544616#M90850</guid>
      <dc:creator>scelikok</dc:creator>
      <dc:date>2021-03-20T14:38:50Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with multiline events props.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Issues-with-multiline-events-props-conf/m-p/544752#M90872</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/206061"&gt;@scelikok&lt;/a&gt;&amp;nbsp;Thanks for the suggestion but still the event which is being ingested is broken.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
  "transaction-id" : "novotel-123",
  "usecase-id" : "123",
  "timestamp" : "2021-03-22T06:51:27,188+0100",
  "timestamp-out" : "2021-03-22T06:51:27,188+0100",
  "component" : "A",
  "payload" : "{\"error\":\"Internal server error\",\"message\":\"Internal server error\",\"description\":\"The server encountered an unexpected condition that prevented it from fulfilling the request\"}",
  "country-code" : "IN",
  "status" : "error",
  "error-code" : "500",
  "error" : "Internal Server Error",
  "caller-id" : "",
  "message-size" : 176,
  "logpoint" : "response-out"
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I appended above event in the log file but over index I received broken one:&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
  "transaction-id" : "novotel-123",
  "usecase-id" : "123",
  "timestamp" : "2021-03-22T06:51:27,188+0100",
  "timestamp-out" : "2021-03-22T06:51:27,188+0100",
  "component" : "A",
Collapse&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 22 Mar 2021 11:19:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Issues-with-multiline-events-props-conf/m-p/544752#M90872</guid>
      <dc:creator>sunnyb147</dc:creator>
      <dc:date>2021-03-22T11:19:55Z</dc:date>
    </item>
  </channel>
</rss>

