<?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 Splunk doesn't format Sysmon JSON correctly in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-doesn-t-format-Sysmon-JSON-correctly/m-p/557258#M92217</link>
    <description>&lt;P&gt;That's the problem. I have a Sysmon JSON to examine but, although in the "Add Data" section everything looks OK, once I get to the search time Events are joined and split without pattern.&lt;/P&gt;&lt;P&gt;After I thought about it a second, I noticed that the document did not have timestamps and Splunk was complaining about it, so I solved it but the issue was still there.&lt;/P&gt;&lt;P&gt;The problem looks like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vyber90_0-1624704356997.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/14830i748B0F6778E2ABD3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Vyber90_0-1624704356997.png" alt="Vyber90_0-1624704356997.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Sometimes the Event begins OK but&amp;nbsp;&lt;EM&gt;melts&amp;nbsp;&lt;/EM&gt;with other events before its end, and others (like the upper example) don't have a heading.&lt;/P&gt;&lt;P&gt;I'm not using any plug-ins or apps. Just clicked on Add Data, selected the document as a non-timestamped JSON, and started searching. How would you solve this? the JSON to be analyzed is downloadable from&amp;nbsp;&lt;A href="https://blueteamlabs.online/home/challenge/18" target="_blank" rel="noopener"&gt;Blue Team Labs Online&lt;/A&gt;.&lt;/P&gt;&lt;DIV&gt;&lt;DIV class="gtx-trans-icon"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Sat, 26 Jun 2021 10:52:18 GMT</pubDate>
    <dc:creator>Vyber90</dc:creator>
    <dc:date>2021-06-26T10:52:18Z</dc:date>
    <item>
      <title>Splunk doesn't format Sysmon JSON correctly</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-doesn-t-format-Sysmon-JSON-correctly/m-p/557258#M92217</link>
      <description>&lt;P&gt;That's the problem. I have a Sysmon JSON to examine but, although in the "Add Data" section everything looks OK, once I get to the search time Events are joined and split without pattern.&lt;/P&gt;&lt;P&gt;After I thought about it a second, I noticed that the document did not have timestamps and Splunk was complaining about it, so I solved it but the issue was still there.&lt;/P&gt;&lt;P&gt;The problem looks like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vyber90_0-1624704356997.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/14830i748B0F6778E2ABD3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Vyber90_0-1624704356997.png" alt="Vyber90_0-1624704356997.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Sometimes the Event begins OK but&amp;nbsp;&lt;EM&gt;melts&amp;nbsp;&lt;/EM&gt;with other events before its end, and others (like the upper example) don't have a heading.&lt;/P&gt;&lt;P&gt;I'm not using any plug-ins or apps. Just clicked on Add Data, selected the document as a non-timestamped JSON, and started searching. How would you solve this? the JSON to be analyzed is downloadable from&amp;nbsp;&lt;A href="https://blueteamlabs.online/home/challenge/18" target="_blank" rel="noopener"&gt;Blue Team Labs Online&lt;/A&gt;.&lt;/P&gt;&lt;DIV&gt;&lt;DIV class="gtx-trans-icon"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 26 Jun 2021 10:52:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-doesn-t-format-Sysmon-JSON-correctly/m-p/557258#M92217</guid>
      <dc:creator>Vyber90</dc:creator>
      <dc:date>2021-06-26T10:52:18Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk doesn't format Sysmon JSON correctly</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-doesn-t-format-Sysmon-JSON-correctly/m-p/557275#M92220</link>
      <description>&lt;P&gt;You have to check:&lt;/P&gt;&lt;P&gt;1) the inputs.conf, which sourcetype are you using?&lt;BR /&gt;2) the size of events... i have many json which are larger than 10.000 bytes per event, so Splunk truncate them (by default, to lighten the aggregation/parsing process)!&lt;BR /&gt;3) if, in point 2, events are more than 10.000 bytes each, you have to aggregate them in props.conf with a TRUNCATE = 0 in the [searchtype_used] stanza,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;TRUNCATE = &amp;lt;non-negative integer&amp;gt;
* The default maximum line length, in bytes.
* Although this is in bytes, line length is rounded down when this would
  otherwise land mid-character for multi-byte characters.
* Set to 0 if you never want truncation (very long lines are, however, often
  a sign of garbage data).
* Default: 10000&lt;/PRE&gt;&lt;P&gt;You can watch truncated events in splunkd.log of the Indexer(s). If you have an HF, could be it to truncate before Indexer(s),&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT color="#FF0000"&gt;WARN&lt;/FONT&gt; &lt;FONT color="#FF00FF"&gt;LineBreakingProcessor&lt;/FONT&gt; - &lt;FONT color="#999999"&gt;Truncating line because limit of 10000 bytes has been exceeded with a line length &amp;gt;= 65536 - data_source="/xxxxxxxxxx/xxxxxxxxxx", data_host="xxxxxxxxxx", data_sourcetype="xxxxxxxxxx"&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;4) if the problem is not the truncate, maybe you could use the default "_json" sourcetype or the&lt;/P&gt;&lt;PRE&gt;INDEXED_EXTRACTIONS = &amp;lt;CSV|TSV|PSV|W3C|JSON|HEC&amp;gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN class="lia-message-unread lia-message-unread-windows"&gt;method to parse the correct events.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-message-unread lia-message-unread-windows"&gt;You have to try which method is better.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 27 Jun 2021 07:43:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-doesn-t-format-Sysmon-JSON-correctly/m-p/557275#M92220</guid>
      <dc:creator>verbal_666</dc:creator>
      <dc:date>2021-06-27T07:43:37Z</dc:date>
    </item>
  </channel>
</rss>

