<?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: Valid JSON not being broken up into individual events in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Valid-JSON-not-being-broken-up-into-individual-events/m-p/532974#M89557</link>
    <description>&lt;P&gt;Okay. This looks like a bug. There's no way the JSON events should be clumped like this.&lt;/P&gt;</description>
    <pubDate>Mon, 14 Dec 2020 11:23:30 GMT</pubDate>
    <dc:creator>BongoTheWhippet</dc:creator>
    <dc:date>2020-12-14T11:23:30Z</dc:date>
    <item>
      <title>Valid JSON not being broken up into individual events</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Valid-JSON-not-being-broken-up-into-individual-events/m-p/532610#M89528</link>
      <description>&lt;P&gt;I've checked a number of threads about breaking JSON files and I've tried a number of offered solutions and none seem to work.&lt;/P&gt;&lt;P&gt;I'm running 8.1.0 and I don't remember seeing this as much of an issue in previous versions.&lt;/P&gt;&lt;P&gt;The snort (ids-u2json) JSON is lint-valid as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{"type": "event", "event": {"msg": "ET INFO Microsoft Connection Test", "classification": "Potentially Bad Traffic", "sensor-id": 0, "event-id": 581, "event-second": 1607588446, "event-microsecond": 790456, "signature-id": 2031071, "generator-id": 1, "signature-revision": 2, "classification-id": 3, "priority": 2, "sport-itype": 63591, "dport-icode": 80, "protocol": 6, "impact-flag": 0, "impact": 0, "blocked": 0, "mpls-label": null, "vlan-id": null, "pad2": null, "source-ip": "192.168.1.125", "destination-ip": "13.107.4.52"}}
{"type": "event", "event": {"msg": "ET POLICY PE EXE or DLL Windows file download HTTP", "classification": "Potential Corporate Privacy Violation", "sensor-id": 0, "event-id": 582, "event-second": 1607588467, "event-microsecond": 769440, "signature-id": 2018959, "generator-id": 1, "signature-revision": 4, "classification-id": 33, "priority": 1, "sport-itype": 80, "dport-icode": 63676, "protocol": 6, "impact-flag": 0, "impact": 0, "blocked": 0, "mpls-label": null, "vlan-id": null, "pad2": null, "source-ip": "205.185.216.10", "destination-ip": "192.168.1.125"}}
{"type": "event", "event": {"msg": "ET INFO Packed Executable Download", "classification": "Misc activity", "sensor-id": 0, "event-id": 583, "event-second": 1607588467, "event-microsecond": 769340, "signature-id": 2014819, "generator-id": 1, "signature-revision": 1, "classification-id": 29, "priority": 3, "sport-itype": 80, "dport-icode": 63676, "protocol": 6, "impact-flag": 0, "impact": 0, "blocked": 0, "mpls-label": null, "vlan-id": null, "pad2": null, "source-ip": "205.185.216.10", "destination-ip": "192.168.1.125"}}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;props.conf on the UF is as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[sourcetype=json]
KV_MODE=json
AUTO_KV_JSON=true
NO_BINARY_CHECK = true
disabled = false
SHOULD_LINEMERGE = false
TIME_FORMAT = "event-second": %s, "event-microsecond": %6N
LINE_BREAKER = }}(^s)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;and props.conf on the indexer/search head as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[stanza]
TZ = UTC
SHOULD_LINEMERGE = false

[_json]
DATETIME_CONFIG =
LINE_BREAKER = }}
NO_BINARY_CHECK = true
disabled = false
KV_MODE = json

[json_no_timestamp]
NO_BINARY_CHECK = true
SHOULD_LINEMERGE = false
disabled = false&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;According to what I've told the UF to do in props.conf, the JSON events &lt;EM&gt;should&lt;/EM&gt; be splitting up the JSON events using the double braces LINE_BREAKER }} as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{"type": "event", "event": {"msg": "ET INFO Microsoft Connection Test", "classification": "Potentially Bad Traffic", "sensor-id": 0, "event-id": 581, "event-second": 1607588446, "event-microsecond": 790456, "signature-id": 2031071, "generator-id": 1, "signature-revision": 2, "classification-id": 3, "priority": 2, "sport-itype": 63591, "dport-icode": 80, "protocol": 6, "impact-flag": 0, "impact": 0, "blocked": 0, "mpls-label": null, "vlan-id": null, "pad2": null, "source-ip": "192.168.1.125", "destination-ip": "13.107.4.52"}}&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;{"type": "event", "event": {"msg": "ET POLICY PE EXE or DLL Windows file download HTTP", "classification": "Potential Corporate Privacy Violation", "sensor-id": 0, "event-id": 582, "event-second": 1607588467, "event-microsecond": 769440, "signature-id": 2018959, "generator-id": 1, "signature-revision": 4, "classification-id": 33, "priority": 1, "sport-itype": 80, "dport-icode": 63676, "protocol": 6, "impact-flag": 0, "impact": 0, "blocked": 0, "mpls-label": null, "vlan-id": null, "pad2": null, "source-ip": "205.185.216.10", "destination-ip": "192.168.1.125"}}&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;{"type": "event", "event": {"msg": "ET INFO Packed Executable Download", "classification": "Misc activity", "sensor-id": 0, "event-id": 583, "event-second": 1607588467, "event-microsecond": 769340, "signature-id": 2014819, "generator-id": 1, "signature-revision": 1, "classification-id": 29, "priority": 3, "sport-itype": 80, "dport-icode": 63676, "protocol": 6, "impact-flag": 0, "impact": 0, "blocked": 0, "mpls-label": null, "vlan-id": null, "pad2": null, "source-ip": "205.185.216.10", "destination-ip": "192.168.1.125"}}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but it doesn't.&lt;/P&gt;&lt;P&gt;Instead, the UF clumps them together as a single event and only reports on the first JSON stanza. Nothing I've tried for LINE_BREAKER seems to work - the UF seems to ignore it. Many thanks&lt;/P&gt;</description>
      <pubDate>Thu, 10 Dec 2020 09:56:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Valid-JSON-not-being-broken-up-into-individual-events/m-p/532610#M89528</guid>
      <dc:creator>BongoTheWhippet</dc:creator>
      <dc:date>2020-12-10T09:56:36Z</dc:date>
    </item>
    <item>
      <title>Re: Valid JSON not being broken up into individual events</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Valid-JSON-not-being-broken-up-into-individual-events/m-p/532974#M89557</link>
      <description>&lt;P&gt;Okay. This looks like a bug. There's no way the JSON events should be clumped like this.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Dec 2020 11:23:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Valid-JSON-not-being-broken-up-into-individual-events/m-p/532974#M89557</guid>
      <dc:creator>BongoTheWhippet</dc:creator>
      <dc:date>2020-12-14T11:23:30Z</dc:date>
    </item>
  </channel>
</rss>

