<?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: Importing validated JSON (RFC 4627) does not split events in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Importing-validated-JSON-RFC-4627-does-not-split-events/m-p/405082#M95338</link>
    <description>&lt;P&gt;You're ingesting one JSON object, so Splunk reads one JSON object.&lt;/P&gt;

&lt;P&gt;You could&lt;BR /&gt;
- generate the data as separate objects&lt;BR /&gt;
- turn off indexed extractions and use regex to chop the big object into small objects&lt;BR /&gt;
- use an external preprocessor&lt;/P&gt;</description>
    <pubDate>Thu, 11 Apr 2019 10:28:12 GMT</pubDate>
    <dc:creator>martin_mueller</dc:creator>
    <dc:date>2019-04-11T10:28:12Z</dc:date>
    <item>
      <title>Importing validated JSON (RFC 4627) does not split events</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Importing-validated-JSON-RFC-4627-does-not-split-events/m-p/405081#M95337</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
we have a service which is showing details for he latest last 10 executed jobs in a JSON (RFC 4627) format.&lt;BR /&gt;
I already validated that format with several JSON validators on the web.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Splunk is not splitting the events/jobs. &lt;BR /&gt;
Do you have a solution for that challenge?&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;The JSON data is in the following.&lt;BR /&gt;
The timestamp is in the field changed_at.&lt;/P&gt;

&lt;HR /&gt;

&lt;P&gt;{&lt;BR /&gt;
   "monitored_jobs":[&lt;BR /&gt;
      {&lt;BR /&gt;
         "monitored_element_id":52,&lt;BR /&gt;
         "work_order_part_id":10,&lt;BR /&gt;
         "quantity":500,&lt;BR /&gt;
         "priority":4,&lt;BR /&gt;
         "status":{&lt;BR /&gt;
            "value":"HALTED",&lt;BR /&gt;
            "changed_at":"2019-04-10T15:46:55.734Z"&lt;BR /&gt;
         }&lt;BR /&gt;
      },&lt;BR /&gt;
      {&lt;BR /&gt;
         "monitored_element_id":9,&lt;BR /&gt;
         "work_order_part_id":9,&lt;BR /&gt;
         "quantity":500,&lt;BR /&gt;
         "priority":4,&lt;BR /&gt;
         "status":{&lt;BR /&gt;
            "value":"HALTED",&lt;BR /&gt;
            "changed_at":"2019-04-10T14:15:15.837Z"&lt;BR /&gt;
         }&lt;BR /&gt;
      },&lt;BR /&gt;
      {&lt;BR /&gt;
         "monitored_element_id":8,&lt;BR /&gt;
         "work_order_part_id":8,&lt;BR /&gt;
         "quantity":100,&lt;BR /&gt;
         "priority":4,&lt;BR /&gt;
         "status":{&lt;BR /&gt;
            "value":"COMPLETED",&lt;BR /&gt;
            "changed_at":"2019-04-10T13:47:53.763Z"&lt;BR /&gt;
         }&lt;BR /&gt;
      },&lt;BR /&gt;
      {&lt;BR /&gt;
         "monitored_element_id":7,&lt;BR /&gt;
         "work_order_part_id":7,&lt;BR /&gt;
         "quantity":50,&lt;BR /&gt;
         "priority":4,&lt;BR /&gt;
         "status":{&lt;BR /&gt;
            "value":"COMPLETED",&lt;BR /&gt;
            "changed_at":"2019-04-10T13:38:15.803Z"&lt;BR /&gt;
         }&lt;BR /&gt;
      },&lt;BR /&gt;
      {&lt;BR /&gt;
         "monitored_element_id":6,&lt;BR /&gt;
         "work_order_part_id":6,&lt;BR /&gt;
         "quantity":5,&lt;BR /&gt;
         "priority":4,&lt;BR /&gt;
         "status":{&lt;BR /&gt;
            "value":"COMPLETED",&lt;BR /&gt;
            "changed_at":"2019-04-10T13:34:26.396Z"&lt;BR /&gt;
         }&lt;BR /&gt;
      },&lt;BR /&gt;
      {&lt;BR /&gt;
         "monitored_element_id":5,&lt;BR /&gt;
         "work_order_part_id":5,&lt;BR /&gt;
         "quantity":1,&lt;BR /&gt;
         "priority":4,&lt;BR /&gt;
         "status":{&lt;BR /&gt;
            "value":"COMPLETED",&lt;BR /&gt;
            "changed_at":"2019-04-10T11:05:36.366Z"&lt;BR /&gt;
         }&lt;BR /&gt;
      },&lt;BR /&gt;
      {&lt;BR /&gt;
         "monitored_element_id":4,&lt;BR /&gt;
         "work_order_part_id":4,&lt;BR /&gt;
         "quantity":1,&lt;BR /&gt;
         "priority":4,&lt;BR /&gt;
         "status":{&lt;BR /&gt;
            "value":"HALTED",&lt;BR /&gt;
            "changed_at":"2019-04-10T10:53:29.173Z"&lt;BR /&gt;
         }&lt;BR /&gt;
      },&lt;BR /&gt;
      {&lt;BR /&gt;
         "monitored_element_id":3,&lt;BR /&gt;
         "work_order_part_id":3,&lt;BR /&gt;
         "quantity":1,&lt;BR /&gt;
         "priority":4,&lt;BR /&gt;
         "status":{&lt;BR /&gt;
            "value":"COMPLETED",&lt;BR /&gt;
            "changed_at":"2019-04-10T10:46:06.857Z"&lt;BR /&gt;
         }&lt;BR /&gt;
      },&lt;BR /&gt;
      {&lt;BR /&gt;
         "monitored_element_id":2,&lt;BR /&gt;
         "work_order_part_id":2,&lt;BR /&gt;
         "quantity":1,&lt;BR /&gt;
         "priority":4,&lt;BR /&gt;
         "status":{&lt;BR /&gt;
            "value":"HALTED",&lt;BR /&gt;
            "changed_at":"2019-04-10T10:24:22.473Z"&lt;BR /&gt;
         }&lt;BR /&gt;
      },&lt;BR /&gt;
      {&lt;BR /&gt;
         "monitored_element_id":1,&lt;BR /&gt;
         "work_order_part_id":1,&lt;BR /&gt;
         "quantity":1,&lt;BR /&gt;
         "priority":4,&lt;BR /&gt;
         "status":{&lt;BR /&gt;
            "value":"HALTED",&lt;BR /&gt;
            "changed_at":"2019-04-10T09:42:46.452Z"&lt;BR /&gt;
         }&lt;BR /&gt;
      }&lt;BR /&gt;
   ],&lt;BR /&gt;
   "page":{&lt;BR /&gt;
      "size":10,&lt;BR /&gt;
      "total_elements":10,&lt;BR /&gt;
      "total_pages":1,&lt;BR /&gt;
      "number":1&lt;BR /&gt;
   }&lt;/P&gt;

&lt;H2&gt;}&lt;/H2&gt;

&lt;P&gt;When I try to import that as a file SPLUNK shows me the following:&lt;/P&gt;

&lt;P&gt;&lt;IMG src="https://community.splunk.com/storage/temp/271034-11-04-2019-09-07-10.png" alt="alt text" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 00:04:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Importing-validated-JSON-RFC-4627-does-not-split-events/m-p/405081#M95337</guid>
      <dc:creator>timodellai</dc:creator>
      <dc:date>2020-09-30T00:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: Importing validated JSON (RFC 4627) does not split events</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Importing-validated-JSON-RFC-4627-does-not-split-events/m-p/405082#M95338</link>
      <description>&lt;P&gt;You're ingesting one JSON object, so Splunk reads one JSON object.&lt;/P&gt;

&lt;P&gt;You could&lt;BR /&gt;
- generate the data as separate objects&lt;BR /&gt;
- turn off indexed extractions and use regex to chop the big object into small objects&lt;BR /&gt;
- use an external preprocessor&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2019 10:28:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Importing-validated-JSON-RFC-4627-does-not-split-events/m-p/405082#M95338</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2019-04-11T10:28:12Z</dc:date>
    </item>
  </channel>
</rss>

