<?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 my JSON format log getting truncated? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-my-JSON-format-log-getting-truncated/m-p/456601#M78923</link>
    <description>&lt;P&gt;I have a log which has a JSON format line in the middle. Splunk is extracting the log but is truncating the JSON part to 26 lines. How do I get the full log without Splunk truncating the JSON lines?&lt;/P&gt;</description>
    <pubDate>Wed, 12 Sep 2018 15:52:02 GMT</pubDate>
    <dc:creator>pdantuuri0411</dc:creator>
    <dc:date>2018-09-12T15:52:02Z</dc:date>
    <item>
      <title>Why is my JSON format log getting truncated?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-my-JSON-format-log-getting-truncated/m-p/456601#M78923</link>
      <description>&lt;P&gt;I have a log which has a JSON format line in the middle. Splunk is extracting the log but is truncating the JSON part to 26 lines. How do I get the full log without Splunk truncating the JSON lines?&lt;/P&gt;</description>
      <pubDate>Wed, 12 Sep 2018 15:52:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-my-JSON-format-log-getting-truncated/m-p/456601#M78923</guid>
      <dc:creator>pdantuuri0411</dc:creator>
      <dc:date>2018-09-12T15:52:02Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my JSON format log getting truncated?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-my-JSON-format-log-getting-truncated/m-p/456602#M78924</link>
      <description>&lt;P&gt;Hi @pdanturri0411,&lt;/P&gt;

&lt;P&gt;Thanks for posting. Could you give us some more context for your query? You have a much better chance of getting your question answered if you provide more information about your issue. Plus, it will help guide future community users who are facing a similar problem. &lt;/P&gt;</description>
      <pubDate>Wed, 12 Sep 2018 16:46:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-my-JSON-format-log-getting-truncated/m-p/456602#M78924</guid>
      <dc:creator>mstjohn_splunk</dc:creator>
      <dc:date>2018-09-12T16:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my JSON format log getting truncated?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-my-JSON-format-log-getting-truncated/m-p/456603#M78925</link>
      <description>&lt;P&gt;&lt;CODE&gt;MAX_EVENTS = &amp;lt;integer&amp;gt;&lt;/CODE&gt;   Specifies the maximum number of input lines that Splunk software adds to any event. The software breaks the event after it reads the specified number of lines. 256 lines&lt;/P&gt;

&lt;P&gt;REF. &lt;A href="https://docs.splunk.com/Documentation/Splunk/7.1.2/Data/Configureeventlinebreaking"&gt;https://docs.splunk.com/Documentation/Splunk/7.1.2/Data/Configureeventlinebreaking&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Sep 2018 19:12:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-my-JSON-format-log-getting-truncated/m-p/456603#M78925</guid>
      <dc:creator>yarick</dc:creator>
      <dc:date>2018-09-12T19:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my JSON format log getting truncated?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-my-JSON-format-log-getting-truncated/m-p/456604#M78926</link>
      <description>&lt;P&gt;Splunk truncateS an event after 10 000 characters, if you want to add more characters to a single event, you should modify your sourcetype in &lt;CODE&gt;props.conf&lt;/CODE&gt; and add &lt;CODE&gt;TRUNCATE = &amp;lt;integer&amp;gt;&lt;/CODE&gt;&lt;BR /&gt;
That should be enough.&lt;/P&gt;

&lt;P&gt;KailA&lt;/P&gt;</description>
      <pubDate>Wed, 12 Sep 2018 19:54:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-my-JSON-format-log-getting-truncated/m-p/456604#M78926</guid>
      <dc:creator>KailA</dc:creator>
      <dc:date>2018-09-12T19:54:32Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my JSON format log getting truncated?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-my-JSON-format-log-getting-truncated/m-p/456605#M78927</link>
      <description>&lt;P&gt;Hi pdantuuri0411,&lt;/P&gt;

&lt;P&gt;without seeing a sample event, my guess is that Splunk sees one of the values in the JSON as an epoch timestamp. Have a read here &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Data/Configureeventlinebreaking"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Data/Configureeventlinebreaking&lt;/A&gt; and configure the line breaking according.&lt;/P&gt;

&lt;P&gt;Hope this helps ...&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Wed, 12 Sep 2018 22:02:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-my-JSON-format-log-getting-truncated/m-p/456605#M78927</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2018-09-12T22:02:27Z</dc:date>
    </item>
  </channel>
</rss>

