<?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 Why do I have several JSON events showing as a single Splunk event? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Why-do-I-have-several-JSON-events-showing-as-a-single-Splunk/m-p/450062#M78142</link>
    <description>&lt;P&gt;I have 1-40 (or more) JSON objects that are seen as one event within Splunk. Each JSON object ends w/ the "}" character and is a valid JSON object. For whatever reason, there are just several JSON objects per one Splunk event.&lt;/P&gt;

&lt;P&gt;How do i split this so it's one JSON entry per Splunk event?&lt;/P&gt;</description>
    <pubDate>Tue, 30 Oct 2018 19:17:49 GMT</pubDate>
    <dc:creator>moorvogi</dc:creator>
    <dc:date>2018-10-30T19:17:49Z</dc:date>
    <item>
      <title>Why do I have several JSON events showing as a single Splunk event?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-do-I-have-several-JSON-events-showing-as-a-single-Splunk/m-p/450062#M78142</link>
      <description>&lt;P&gt;I have 1-40 (or more) JSON objects that are seen as one event within Splunk. Each JSON object ends w/ the "}" character and is a valid JSON object. For whatever reason, there are just several JSON objects per one Splunk event.&lt;/P&gt;

&lt;P&gt;How do i split this so it's one JSON entry per Splunk event?&lt;/P&gt;</description>
      <pubDate>Tue, 30 Oct 2018 19:17:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-do-I-have-several-JSON-events-showing-as-a-single-Splunk/m-p/450062#M78142</guid>
      <dc:creator>moorvogi</dc:creator>
      <dc:date>2018-10-30T19:17:49Z</dc:date>
    </item>
    <item>
      <title>Re: Why do I have several JSON events showing as a single Splunk event?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-do-I-have-several-JSON-events-showing-as-a-single-Splunk/m-p/450063#M78143</link>
      <description>&lt;P&gt;Hi , &lt;BR /&gt;
There are multiple ways you can split the JSON events, you can try adding sedcmd to props.conf somnething like this.&lt;BR /&gt;
 [myJSON]&lt;BR /&gt;
 SEDCMD-remove_header = s/^(?:.&lt;EM&gt;\n){1,3}//g&lt;BR /&gt;
 SEDCMD-remove_footer = s/][\r\n]\s&lt;/EM&gt;}.&lt;EM&gt;$//g&lt;BR /&gt;
 LINE_BREAKER = }(\s&lt;/EM&gt;,[\r\n]\s*){`&lt;/P&gt;

&lt;P&gt;else you can update a responsehandler which is a python class and use it in your inputs.&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/233620/how-to-use-custom-response-handlers-for-monitoring-1.html" target="_blank"&gt;https://answers.splunk.com/answers/233620/how-to-use-custom-response-handlers-for-monitoring-1.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;i am not sure on what your scenario is&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 21:50:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-do-I-have-several-JSON-events-showing-as-a-single-Splunk/m-p/450063#M78143</guid>
      <dc:creator>pruthvikrishnap</dc:creator>
      <dc:date>2020-09-29T21:50:39Z</dc:date>
    </item>
  </channel>
</rss>

