<?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: Search result JSON all fields not being extracted in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Search-result-JSON-all-fields-not-being-extracted/m-p/460351#M79474</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;You might be hitting the max character limits.&lt;BR /&gt;
The default is near to 10K characters.&lt;/P&gt;

&lt;P&gt;Please update the limits.conf.&lt;BR /&gt;
Do create a limits.conf in your app local directory otherwise it will update the entire Splunk environment&lt;BR /&gt;
Path - /splunk_home/etc/apps/your_app/local/limits.conf&lt;/P&gt;

&lt;P&gt;Please try and let us know the outcome,&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; **limits.conf**
 maxchars = &amp;lt;integer&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 30 Sep 2020 03:21:39 GMT</pubDate>
    <dc:creator>dindu</dc:creator>
    <dc:date>2020-09-30T03:21:39Z</dc:date>
    <item>
      <title>Search result JSON all fields not being extracted</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Search-result-JSON-all-fields-not-being-extracted/m-p/460346#M79469</link>
      <description>&lt;P&gt;I have a JSON within my search results whose fields are not being extracted all. &lt;BR /&gt;
More specifically, a single field within that JSON is much longer than others - 40k characters, other are all under 50 characters. When I try to query any field which is above the long one in specific JSON, I do get a result. However, if I query any fields which is below the long one, no results are returned. Example:&lt;BR /&gt;
    {&lt;BR /&gt;
        "field1":"value1",&lt;BR /&gt;
        "field2":"value2",&lt;BR /&gt;
        "long_field":"............",&lt;BR /&gt;
        "field4":"value4"&lt;BR /&gt;
    }&lt;BR /&gt;
I can query by field1 and field2 but not long_field and field4. Also, when I add "| fields *" to the query, only field1 and field2 would be among "Interesting fields" select or the results table.&lt;/P&gt;

&lt;P&gt;The JSON itself is roughly 30-35 KB in size.&lt;/P&gt;

&lt;P&gt;What could be the possible reason for such behavior?&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 03:18:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Search-result-JSON-all-fields-not-being-extracted/m-p/460346#M79469</guid>
      <dc:creator>pdamjanovic</dc:creator>
      <dc:date>2020-09-30T03:18:36Z</dc:date>
    </item>
    <item>
      <title>Re: Search result JSON all fields not being extracted</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Search-result-JSON-all-fields-not-being-extracted/m-p/460347#M79470</link>
      <description>&lt;P&gt;How is  &lt;CODE&gt;spath&lt;/CODE&gt; result?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2019 13:49:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Search-result-JSON-all-fields-not-being-extracted/m-p/460347#M79470</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2019-12-11T13:49:04Z</dc:date>
    </item>
    <item>
      <title>Re: Search result JSON all fields not being extracted</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Search-result-JSON-all-fields-not-being-extracted/m-p/460348#M79471</link>
      <description>&lt;P&gt;Set kv_mode=JSON on the sourcetype definition in props. Do not rely on kv_mode=AUTO&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 03:21:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Search-result-JSON-all-fields-not-being-extracted/m-p/460348#M79471</guid>
      <dc:creator>starcher</dc:creator>
      <dc:date>2020-09-30T03:21:32Z</dc:date>
    </item>
    <item>
      <title>Re: Search result JSON all fields not being extracted</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Search-result-JSON-all-fields-not-being-extracted/m-p/460349#M79472</link>
      <description>&lt;P&gt;Tried, did not help.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2019 14:36:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Search-result-JSON-all-fields-not-being-extracted/m-p/460349#M79472</guid>
      <dc:creator>pdamjanovic</dc:creator>
      <dc:date>2019-12-11T14:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: Search result JSON all fields not being extracted</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Search-result-JSON-all-fields-not-being-extracted/m-p/460350#M79473</link>
      <description>&lt;P&gt;I'm not quite sure what is the question here?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2019 14:36:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Search-result-JSON-all-fields-not-being-extracted/m-p/460350#M79473</guid>
      <dc:creator>pdamjanovic</dc:creator>
      <dc:date>2019-12-11T14:36:41Z</dc:date>
    </item>
    <item>
      <title>Re: Search result JSON all fields not being extracted</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Search-result-JSON-all-fields-not-being-extracted/m-p/460351#M79474</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;You might be hitting the max character limits.&lt;BR /&gt;
The default is near to 10K characters.&lt;/P&gt;

&lt;P&gt;Please update the limits.conf.&lt;BR /&gt;
Do create a limits.conf in your app local directory otherwise it will update the entire Splunk environment&lt;BR /&gt;
Path - /splunk_home/etc/apps/your_app/local/limits.conf&lt;/P&gt;

&lt;P&gt;Please try and let us know the outcome,&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; **limits.conf**
 maxchars = &amp;lt;integer&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 30 Sep 2020 03:21:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Search-result-JSON-all-fields-not-being-extracted/m-p/460351#M79474</guid>
      <dc:creator>dindu</dc:creator>
      <dc:date>2020-09-30T03:21:39Z</dc:date>
    </item>
    <item>
      <title>Re: Search result JSON all fields not being extracted</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Search-result-JSON-all-fields-not-being-extracted/m-p/460352#M79475</link>
      <description>&lt;P&gt;Setting it to 100.000 did not help (message is under 40.000 chars).&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2019 09:47:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Search-result-JSON-all-fields-not-being-extracted/m-p/460352#M79475</guid>
      <dc:creator>pdamjanovic</dc:creator>
      <dc:date>2019-12-12T09:47:13Z</dc:date>
    </item>
  </channel>
</rss>

