<?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: How to edit props.conf to override Splunk truncating JSON data? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-edit-props-conf-to-override-Splunk-truncating-JSON-data/m-p/265864#M50972</link>
    <description>&lt;P&gt;From your screenshot I can see the sourctype is &lt;CODE&gt;json&lt;/CODE&gt;, not &lt;CODE&gt;_json&lt;/CODE&gt; as your per your props.conf. Have you tried changing the stanza name in props.conf?&lt;/P&gt;</description>
    <pubDate>Thu, 05 Jan 2017 11:31:51 GMT</pubDate>
    <dc:creator>jplumsdaine22</dc:creator>
    <dc:date>2017-01-05T11:31:51Z</dc:date>
    <item>
      <title>How to edit props.conf to override Splunk truncating JSON data?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-edit-props-conf-to-override-Splunk-truncating-JSON-data/m-p/265863#M50971</link>
      <description>&lt;P&gt;Hi Guys,&lt;/P&gt;

&lt;P&gt;So I figured out that my Splunk instance is truncating my JSON data.  That's not good and I'd like to remedy this.  In reading, it looks as though I need to override my props.conf file by using the local/props.conf file.  Since I'm using a Universal Forwarder it appears I don't need touch this ( &lt;A href="http://wiki.splunk.com/Community:HowIndexingWorks"&gt;http://wiki.splunk.com/Community:HowIndexingWorks&lt;/A&gt; ) as from the picture TRUNCATE happens in the parsing stage on the main server.   &lt;/P&gt;

&lt;P&gt;So on my main server I added the following stanza.  I then read ( &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.5.1/admin/Propsconf"&gt;http://docs.splunk.com/Documentation/Splunk/6.5.1/admin/Propsconf&lt;/A&gt; ) that I simply need to hit  &lt;CODE&gt;| extract reload=T&lt;/CODE&gt; and I should be in business.  &lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Well it didn't work!&lt;/STRONG&gt;  Can someone with a bigger brain please point out my error?  On the forwarder side I'm am monitoring the following file. &lt;EM&gt;FWIW - I also tried editing the UF side props.conf and that didn't work either.&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;/opt/splunk/splunkforwarder/bin/splunk add monitor /var/log/django/  -sourcetype json&lt;/P&gt;

&lt;P&gt;/opt/splunk/etc/system/local/props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[_json]
pulldown_type = true
INDEXED_EXTRACTIONS = json
TRUNCATE = 30000
KV_MODE = none
category = Structured
description = JavaScript Object Notation format. For more information, visit &lt;A href="http://json.org/" target="test_blank"&gt;http://json.org/&lt;/A&gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Finally here is the image of it getting truncated at 10000 which is the default.&lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/2215i4D242CDFFC85D01F/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Dec 2016 16:07:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-edit-props-conf-to-override-Splunk-truncating-JSON-data/m-p/265863#M50971</guid>
      <dc:creator>rh0dium</dc:creator>
      <dc:date>2016-12-06T16:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit props.conf to override Splunk truncating JSON data?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-edit-props-conf-to-override-Splunk-truncating-JSON-data/m-p/265864#M50972</link>
      <description>&lt;P&gt;From your screenshot I can see the sourctype is &lt;CODE&gt;json&lt;/CODE&gt;, not &lt;CODE&gt;_json&lt;/CODE&gt; as your per your props.conf. Have you tried changing the stanza name in props.conf?&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jan 2017 11:31:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-edit-props-conf-to-override-Splunk-truncating-JSON-data/m-p/265864#M50972</guid>
      <dc:creator>jplumsdaine22</dc:creator>
      <dc:date>2017-01-05T11:31:51Z</dc:date>
    </item>
  </channel>
</rss>

