<?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: Field extraction: Is there a limit on the number of values a JSON multivalued field can hold in Splunk 6.2.1? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Field-extraction-Is-there-a-limit-on-the-number-of-values-a-JSON/m-p/146935#M41049</link>
    <description>&lt;P&gt;According to this answer, there is a limit if you use &lt;CODE&gt;INDEXED EXTRACTIONS = JSON&lt;/CODE&gt; but not if you use &lt;CODE&gt;KV_MODE = json&lt;/CODE&gt;:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/319059/indexed-extractions-json-limiting-multivalued-fiel.html"&gt;https://answers.splunk.com/answers/319059/indexed-extractions-json-limiting-multivalued-fiel.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 14 Oct 2015 19:21:50 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2015-10-14T19:21:50Z</dc:date>
    <item>
      <title>Field extraction: Is there a limit on the number of values a JSON multivalued field can hold in Splunk 6.2.1?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Field-extraction-Is-there-a-limit-on-the-number-of-values-a-JSON/m-p/146932#M41046</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;

&lt;P&gt;I am ingesting a json log file. The data contains a JSON array with multiple fields. Sample format&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;{
  "payload": {
    "rootfield1": "1234567890",
    "rootfield2": "SDFDFDF"
  },
  "event": [
    {
      "eventfield1": "1234567890",
      "eventprimarykey": "2377",
      "timestamp": "2015-02-18T10:48:14-0500",
      "data": "sdfdfdfdf"      
    },
     {
      "eventfield1": "1234567890",
      "eventprimarykey": "2378",
      "timestamp": "2015-02-18T10:48:14-0500",
      "data": "sdfdfdfdf"      
    },
....
...
 {
      "eventfield1": "1234567890",
      "eventprimarykey": "2377",
      "timestamp": "2015-02-18T10:48:14-0500",
      "data": "sdfdfdfdf"      
    }
  ]
}
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The number of elements in "event{}" array could go up to 50. &lt;/P&gt;

&lt;P&gt;The problem that I am facing is that when I check the no of values in the multivalued fields created for the array (event{}.eventfield1, event{}.eventprimarykey etc), the total count is never 50, even though the raw data has 50 unique elements. The count varies from 33 to 39 but never matches actual count in the raw data.&lt;/P&gt;

&lt;P&gt;Is there any limit of no of values that a JSON multivalued field can hold?&lt;/P&gt;

&lt;P&gt;Thanks in advanced.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Feb 2015 23:13:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Field-extraction-Is-there-a-limit-on-the-number-of-values-a-JSON/m-p/146932#M41046</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2015-02-18T23:13:33Z</dc:date>
    </item>
    <item>
      <title>Re: Field extraction: Is there a limit on the number of values a JSON multivalued field can hold in Splunk 6.2.1?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Field-extraction-Is-there-a-limit-on-the-number-of-values-a-JSON/m-p/146933#M41047</link>
      <description>&lt;P&gt;you have questions too? &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Feb 2015 23:58:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Field-extraction-Is-there-a-limit-on-the-number-of-values-a-JSON/m-p/146933#M41047</guid>
      <dc:creator>sk314</dc:creator>
      <dc:date>2015-02-18T23:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: Field extraction: Is there a limit on the number of values a JSON multivalued field can hold in Splunk 6.2.1?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Field-extraction-Is-there-a-limit-on-the-number-of-values-a-JSON/m-p/146934#M41048</link>
      <description>&lt;P&gt;I seem to be having the same problem.  Although in my case, the max number of values for a multivalued field is 10.  Did you sort this out?&lt;/P&gt;

&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/319059/indexed-extractions-json-limiting-multivalued-fiel.html#comment-318110"&gt;link to problem&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Oct 2015 17:57:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Field-extraction-Is-there-a-limit-on-the-number-of-values-a-JSON/m-p/146934#M41048</guid>
      <dc:creator>suarezry</dc:creator>
      <dc:date>2015-10-14T17:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: Field extraction: Is there a limit on the number of values a JSON multivalued field can hold in Splunk 6.2.1?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Field-extraction-Is-there-a-limit-on-the-number-of-values-a-JSON/m-p/146935#M41049</link>
      <description>&lt;P&gt;According to this answer, there is a limit if you use &lt;CODE&gt;INDEXED EXTRACTIONS = JSON&lt;/CODE&gt; but not if you use &lt;CODE&gt;KV_MODE = json&lt;/CODE&gt;:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/319059/indexed-extractions-json-limiting-multivalued-fiel.html"&gt;https://answers.splunk.com/answers/319059/indexed-extractions-json-limiting-multivalued-fiel.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Oct 2015 19:21:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Field-extraction-Is-there-a-limit-on-the-number-of-values-a-JSON/m-p/146935#M41049</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-10-14T19:21:50Z</dc:date>
    </item>
    <item>
      <title>Re: Field extraction: Is there a limit on the number of values a JSON multivalued field can hold in Splunk 6.2.1?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Field-extraction-Is-there-a-limit-on-the-number-of-values-a-JSON/m-p/146936#M41050</link>
      <description>&lt;P&gt;Yes, I'm not using indexed field extractions, this was just for the UI/search extracting at search time.  &lt;/P&gt;

&lt;P&gt;What worked for us was making sure that we had the following in the props.conf definition:&lt;/P&gt;

&lt;P&gt;KV_MODE = JSON&lt;/P&gt;

&lt;P&gt;and also&lt;/P&gt;

&lt;P&gt;maxcols = 2000&lt;/P&gt;

&lt;P&gt;in limits.conf on our search heads.&lt;/P&gt;

&lt;P&gt;This combination resolved the issue for us.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Oct 2015 19:44:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Field-extraction-Is-there-a-limit-on-the-number-of-values-a-JSON/m-p/146936#M41050</guid>
      <dc:creator>jonathon</dc:creator>
      <dc:date>2015-10-14T19:44:43Z</dc:date>
    </item>
    <item>
      <title>Re: Field extraction: Is there a limit on the number of values a JSON multivalued field can hold in Splunk 6.2.1?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Field-extraction-Is-there-a-limit-on-the-number-of-values-a-JSON/m-p/146937#M41051</link>
      <description>&lt;P&gt;Just came across this answers article for a similar problem today.  Thank you for the maxcols bit!&lt;/P&gt;</description>
      <pubDate>Tue, 28 Aug 2018 02:38:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Field-extraction-Is-there-a-limit-on-the-number-of-values-a-JSON/m-p/146937#M41051</guid>
      <dc:creator>dstaulcu</dc:creator>
      <dc:date>2018-08-28T02:38:40Z</dc:date>
    </item>
    <item>
      <title>Re: Field extraction: Is there a limit on the number of values a JSON multivalued field can hold in Splunk 6.2.1?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Field-extraction-Is-there-a-limit-on-the-number-of-values-a-JSON/m-p/146938#M41052</link>
      <description>&lt;P&gt;Also a good one to keep in mind along with maxcols is maxchars:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;maxchars = integer&lt;BR /&gt;
* Truncate _raw to this size and then do auto KV.&lt;BR /&gt;
* Default: 10240 characters&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Mon, 22 Jul 2019 22:05:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Field-extraction-Is-there-a-limit-on-the-number-of-values-a-JSON/m-p/146938#M41052</guid>
      <dc:creator>badarsebard</dc:creator>
      <dc:date>2019-07-22T22:05:47Z</dc:date>
    </item>
  </channel>
</rss>

