<?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 Why is JSON parsing events inconsistently? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-JSON-parsing-events-inconsistently/m-p/645339#M109804</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I have an issue with the json data that is being ingested into Splunk using Universal Forwarder. Some times the json entries are ingested as individual entries in Splunk and other times the entire content is loaded as one single event. I tried to search for some special characters that might be causing this issue, but I wasn't able to find any.&amp;nbsp; Attached is a print screen with 2 examples, one that is being loaded as expected and the another where json is not correctly parsed.&lt;/P&gt;
&lt;P&gt;Did someone already faced something similar? What should I do to fix it?&lt;/P&gt;</description>
    <pubDate>Thu, 01 Jun 2023 14:11:20 GMT</pubDate>
    <dc:creator>LealP</dc:creator>
    <dc:date>2023-06-01T14:11:20Z</dc:date>
    <item>
      <title>Why is JSON parsing events inconsistently?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-JSON-parsing-events-inconsistently/m-p/645339#M109804</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I have an issue with the json data that is being ingested into Splunk using Universal Forwarder. Some times the json entries are ingested as individual entries in Splunk and other times the entire content is loaded as one single event. I tried to search for some special characters that might be causing this issue, but I wasn't able to find any.&amp;nbsp; Attached is a print screen with 2 examples, one that is being loaded as expected and the another where json is not correctly parsed.&lt;/P&gt;
&lt;P&gt;Did someone already faced something similar? What should I do to fix it?&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2023 14:11:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-JSON-parsing-events-inconsistently/m-p/645339#M109804</guid>
      <dc:creator>LealP</dc:creator>
      <dc:date>2023-06-01T14:11:20Z</dc:date>
    </item>
    <item>
      <title>Re: JSON parsing issue</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-JSON-parsing-events-inconsistently/m-p/645346#M109808</link>
      <description>&lt;P&gt;It looks like the &lt;FONT face="courier new,courier"&gt;LINE_BREAKER&lt;/FONT&gt; setting may need to be adjusted.&amp;nbsp; Please share the props.conf stanza for this input and we'll suggest some changes.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2023 12:49:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-JSON-parsing-events-inconsistently/m-p/645346#M109808</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2023-06-01T12:49:24Z</dc:date>
    </item>
    <item>
      <title>Re: JSON parsing issue</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-JSON-parsing-events-inconsistently/m-p/645375#M109812</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp; do you know which one is used?&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;./splunkforwarder/etc/apps/search/default/props.conf&lt;BR /&gt;./splunkforwarder/etc/apps/SplunkUniversalForwarder/default/props.conf&lt;BR /&gt;./splunkforwarder/etc/apps/learned/local/props.conf&lt;BR /&gt;./splunkforwarder/etc/apps/splunk_internal_metrics/default/props.conf&lt;BR /&gt;./splunkforwarder/etc/system/default/props.conf&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2023 13:56:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-JSON-parsing-events-inconsistently/m-p/645375#M109812</guid>
      <dc:creator>LealP</dc:creator>
      <dc:date>2023-06-01T13:56:40Z</dc:date>
    </item>
    <item>
      <title>Re: JSON parsing issue</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-JSON-parsing-events-inconsistently/m-p/645382#M109814</link>
      <description>&lt;P&gt;All of them.&amp;nbsp; Splunk merges the settings from all of the props.conf files to arrive at a final configuration.&amp;nbsp; You can use btool to get the same information.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;splunk btool props list &amp;lt;&amp;lt;mysourcetype&amp;gt;&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;Replace &lt;FONT face="courier new,courier"&gt;&amp;lt;&amp;lt;mysourcetype&amp;gt;&amp;gt;&lt;/FONT&gt; with the name of the sourcetype used by this input.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2023 14:30:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-JSON-parsing-events-inconsistently/m-p/645382#M109814</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2023-06-01T14:30:32Z</dc:date>
    </item>
    <item>
      <title>Re: Why is JSON parsing events inconsistently?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-JSON-parsing-events-inconsistently/m-p/645400#M109821</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp; here is the props.conf content:&lt;/P&gt;&lt;P&gt;CHARSET = UTF-8&lt;BR /&gt;LINE_BREAKER_LOOKBEHIND = 100&lt;BR /&gt;TRUNCATE = 10000&lt;BR /&gt;LB_CHUNK_BREAKER_TRUNCATE = 2000000&lt;BR /&gt;DATETIME_CONFIG = /etc/datetime.xml&lt;BR /&gt;ADD_EXTRA_TIME_FIELDS = True&lt;BR /&gt;ANNOTATE_PUNCT = True&lt;BR /&gt;HEADER_MODE =&lt;BR /&gt;MATCH_LIMIT = 100000&lt;BR /&gt;DEPTH_LIMIT = 1000&lt;BR /&gt;MAX_DAYS_HENCE=2&lt;BR /&gt;MAX_DAYS_AGO=2000&lt;BR /&gt;MAX_DIFF_SECS_AGO=3600&lt;BR /&gt;MAX_DIFF_SECS_HENCE=604800&lt;BR /&gt;MAX_TIMESTAMP_LOOKAHEAD = 128&lt;BR /&gt;DETERMINE_TIMESTAMP_DATE_WITH_SYSTEM_TIME = false&lt;BR /&gt;SHOULD_LINEMERGE = True&lt;BR /&gt;BREAK_ONLY_BEFORE =&lt;BR /&gt;BREAK_ONLY_BEFORE_DATE = True&lt;BR /&gt;MAX_EVENTS = 256&lt;BR /&gt;MUST_BREAK_AFTER =&lt;BR /&gt;MUST_NOT_BREAK_AFTER =&lt;BR /&gt;MUST_NOT_BREAK_BEFORE =&lt;BR /&gt;TRANSFORMS =&lt;BR /&gt;SEGMENTATION = indexing&lt;BR /&gt;SEGMENTATION-all = full&lt;BR /&gt;SEGMENTATION-inner = inner&lt;BR /&gt;SEGMENTATION-outer = outer&lt;BR /&gt;SEGMENTATION-raw = none&lt;BR /&gt;SEGMENTATION-standard = standard&lt;BR /&gt;LEARN_SOURCETYPE = true&lt;BR /&gt;LEARN_MODEL = true&lt;BR /&gt;termFrequencyWeightedDist = false&lt;BR /&gt;maxDist = 100&lt;BR /&gt;AUTO_KV_JSON = true&lt;BR /&gt;detect_trailing_nulls = false&lt;BR /&gt;sourcetype =&lt;BR /&gt;priority =&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2023 15:15:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-JSON-parsing-events-inconsistently/m-p/645400#M109821</guid>
      <dc:creator>LealP</dc:creator>
      <dc:date>2023-06-01T15:15:42Z</dc:date>
    </item>
    <item>
      <title>Re: Why is JSON parsing events inconsistently?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-JSON-parsing-events-inconsistently/m-p/645402#M109823</link>
      <description>&lt;P&gt;Assuming that is the correct set of props (I wonder because &lt;FONT face="courier new,courier"&gt;BREAK_ONLY_BEFORE_DATE&lt;/FONT&gt; is true and yet events are&amp;nbsp; not broken at dates) then these settings may help.&amp;nbsp; Put them in $SPLUNK_HOME/etc/system/local/props.conf and restart the indexers.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[&amp;lt;&amp;lt;mysourcetype&amp;gt;&amp;gt;]
TIME_PREFIX = timestamp" : "
TIME_FORMAT = %Y-%m-%d %H:%M:%S
LINE_BREAKER = ([\r\n]+)\{"severity
TRUNCATE = 10000
MAX_TIMESTAMP_LOOKAHEAD = 128
SHOULD_LINEMERGE = false
BREAK_ONLY_BEFORE_DATE = false
AUTO_KV_JSON = true&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2023 15:38:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-JSON-parsing-events-inconsistently/m-p/645402#M109823</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2023-06-01T15:38:03Z</dc:date>
    </item>
  </channel>
</rss>

