<?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 How to find non-json records in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-find-non-json-records/m-p/476625#M81819</link>
    <description>&lt;P&gt;I have a bunch of sourcetypes which are supposed to contain only valid JSON data.  I've been asked to verify that in fact they do contain only json.  Is there an easy/elegant way to search to find records which were not well-formed JSON?  (ie, records that Splunk can automatically format as a JSON tree.)&lt;/P&gt;</description>
    <pubDate>Wed, 19 Feb 2020 21:41:25 GMT</pubDate>
    <dc:creator>ShagVT</dc:creator>
    <dc:date>2020-02-19T21:41:25Z</dc:date>
    <item>
      <title>How to find non-json records</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-find-non-json-records/m-p/476625#M81819</link>
      <description>&lt;P&gt;I have a bunch of sourcetypes which are supposed to contain only valid JSON data.  I've been asked to verify that in fact they do contain only json.  Is there an easy/elegant way to search to find records which were not well-formed JSON?  (ie, records that Splunk can automatically format as a JSON tree.)&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2020 21:41:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-find-non-json-records/m-p/476625#M81819</guid>
      <dc:creator>ShagVT</dc:creator>
      <dc:date>2020-02-19T21:41:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to find non-json records</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-find-non-json-records/m-p/476626#M81820</link>
      <description>&lt;P&gt;@ShagVT if you know the JSON structure like the root node or some other unique pattern, you can use the same to parse and send unwanted data/events to nullQueue (or a separate index) then you can get stats of events pushed to null queue or separate index/sourcetype. &lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Forwarding/Routeandfilterdatad#Filter_event_data_and_send_to_queues"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Forwarding/Routeandfilterdatad#Filter_event_data_and_send_to_queues&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2020 14:10:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-find-non-json-records/m-p/476626#M81820</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2020-02-20T14:10:55Z</dc:date>
    </item>
  </channel>
</rss>

