<?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: JSON Data extraction issues with Comma in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/JSON-Data-extraction-issues-with-Comma/m-p/748191#M118900</link>
    <description>&lt;P class="lia-align-left"&gt;Hello&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/237295"&gt;@kumva01&lt;/a&gt;,&lt;/P&gt;&lt;P class="lia-align-left"&gt;Can you explain more about what is the source and how are you trying to ingest the data? What will be the data flow? Just the props configuration will not be able to help you with breaking the events and maintaining the JSON format for further field extractions.&lt;/P&gt;&lt;P class="lia-align-left"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-align-left"&gt;Thanks,&lt;BR /&gt;Tejas.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 18 Jun 2025 07:19:52 GMT</pubDate>
    <dc:creator>tej57</dc:creator>
    <dc:date>2025-06-18T07:19:52Z</dc:date>
    <item>
      <title>JSON Data extraction issues with Comma</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/JSON-Data-extraction-issues-with-Comma/m-p/702961#M116267</link>
      <description>&lt;P&gt;Hi Team,&lt;BR /&gt;&lt;BR /&gt;We are trying to extract JSON data with custom sourcetype and&amp;nbsp;&lt;SPAN&gt;With the current configuration, all JSON objects are being combined into a single event in Splunk. Ideally, each JSON object should be recognized as a separate event, but the configuration is not breaking them apart as expected&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kumva01_0-1730178348522.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/33237i6963D12170446066/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kumva01_0-1730178348522.png" alt="kumva01_0-1730178348522.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I observed that each JSON object has a comma after the closing brace&lt;STRONG&gt; },&lt;/STRONG&gt; which appears to be causing the issue by preventing Splunk from treating each JSON object as a separate event.&lt;/P&gt;
&lt;P&gt;sample data :&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{ 

  "timestamp":"1727962122",

  "phonenumber": "0000000"

  "appname": "cisco"

},

{ 

  "timestamp":"1727962123",

  "phonenumber": "0000000"

  "appname": "windows"

},&lt;/LI-CODE&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;&amp;nbsp;Error message :&amp;nbsp;Error message : JSON StreamID:0 had parsing error: Unexpected character while looking for value comma ','&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;Thanks in advance&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2024 14:08:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/JSON-Data-extraction-issues-with-Comma/m-p/702961#M116267</guid>
      <dc:creator>kumva01</dc:creator>
      <dc:date>2024-10-29T14:08:40Z</dc:date>
    </item>
    <item>
      <title>Re: JSON Data extraction issues with Comma</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/JSON-Data-extraction-issues-with-Comma/m-p/748191#M118900</link>
      <description>&lt;P class="lia-align-left"&gt;Hello&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/237295"&gt;@kumva01&lt;/a&gt;,&lt;/P&gt;&lt;P class="lia-align-left"&gt;Can you explain more about what is the source and how are you trying to ingest the data? What will be the data flow? Just the props configuration will not be able to help you with breaking the events and maintaining the JSON format for further field extractions.&lt;/P&gt;&lt;P class="lia-align-left"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-align-left"&gt;Thanks,&lt;BR /&gt;Tejas.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jun 2025 07:19:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/JSON-Data-extraction-issues-with-Comma/m-p/748191#M118900</guid>
      <dc:creator>tej57</dc:creator>
      <dc:date>2025-06-18T07:19:52Z</dc:date>
    </item>
  </channel>
</rss>

