<?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: mvexpand gives less results in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/mvexpand-gives-less-results/m-p/350518#M174579</link>
    <description>&lt;P&gt;One possible error source is that &lt;CODE&gt;| mvexpand Levelin&lt;/CODE&gt; will delete any record where &lt;CODE&gt;Levelin&lt;/CODE&gt; is &lt;CODE&gt;null&lt;/CODE&gt;.&lt;/P&gt;

&lt;P&gt;Try this ...&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=my_search
| stats list(eventData.txLevelIn) as Levelin by callId
| eval Levelin=coalesce(Levelin,"") 
| mvexpand Levelin
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 20 Jun 2017 02:45:50 GMT</pubDate>
    <dc:creator>DalJeanis</dc:creator>
    <dc:date>2017-06-20T02:45:50Z</dc:date>
    <item>
      <title>mvexpand gives less results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/mvexpand-gives-less-results/m-p/350517#M174578</link>
      <description>&lt;P&gt;Now when i use mvexpand &lt;/P&gt;

&lt;P&gt;i just get 600 results in statistics, instead of getting 1412 alll the events as below:&lt;BR /&gt;
So i am not sure what is causing this problem. &lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2017 00:09:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/mvexpand-gives-less-results/m-p/350517#M174578</guid>
      <dc:creator>patilsh</dc:creator>
      <dc:date>2017-06-20T00:09:00Z</dc:date>
    </item>
    <item>
      <title>Re: mvexpand gives less results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/mvexpand-gives-less-results/m-p/350518#M174579</link>
      <description>&lt;P&gt;One possible error source is that &lt;CODE&gt;| mvexpand Levelin&lt;/CODE&gt; will delete any record where &lt;CODE&gt;Levelin&lt;/CODE&gt; is &lt;CODE&gt;null&lt;/CODE&gt;.&lt;/P&gt;

&lt;P&gt;Try this ...&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=my_search
| stats list(eventData.txLevelIn) as Levelin by callId
| eval Levelin=coalesce(Levelin,"") 
| mvexpand Levelin
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 20 Jun 2017 02:45:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/mvexpand-gives-less-results/m-p/350518#M174579</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2017-06-20T02:45:50Z</dc:date>
    </item>
    <item>
      <title>Re: mvexpand gives less results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/mvexpand-gives-less-results/m-p/350519#M174580</link>
      <description>&lt;P&gt;Hi @patilsh,&lt;/P&gt;

&lt;P&gt;Your ans is limits of mvexpand command. Please go through below links for more details.&lt;/P&gt;

&lt;P&gt;Check Limits section of mvexpand.&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.6.1/SearchReference/Mvexpand"&gt;http://docs.splunk.com/Documentation/Splunk/6.6.1/SearchReference/Mvexpand&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Check how to manage it with limits.conf.&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.6.1/Admin/Limitsconf"&gt;http://docs.splunk.com/Documentation/Splunk/6.6.1/Admin/Limitsconf&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;I hope it will help you.&lt;/P&gt;

&lt;P&gt;Thanks&lt;BR /&gt;
Kamlesh&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2017 05:14:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/mvexpand-gives-less-results/m-p/350519#M174580</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2017-06-20T05:14:57Z</dc:date>
    </item>
    <item>
      <title>Re: mvexpand gives less results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/mvexpand-gives-less-results/m-p/350520#M174581</link>
      <description>&lt;P&gt;I'm not sure why this hasn't been accepted as the answer. It does appear that mvexpand negates any results where the value of the target field is null. I read your answer before looking at your query and ended up replacing my ... | eval filed=if(isnull(field), ... with the coalesce you used. Much appreciated.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jul 2018 14:38:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/mvexpand-gives-less-results/m-p/350520#M174581</guid>
      <dc:creator>dflodstrom</dc:creator>
      <dc:date>2018-07-26T14:38:53Z</dc:date>
    </item>
    <item>
      <title>Re: mvexpand gives less results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/mvexpand-gives-less-results/m-p/350521#M174582</link>
      <description>&lt;P&gt;With the screenshot, we can understand that the problem is maybe from the &lt;CODE&gt;stats&lt;/CODE&gt; and not the &lt;CODE&gt;mvexpand&lt;/CODE&gt;.&lt;/P&gt;

&lt;P&gt;After the &lt;CODE&gt;stats&lt;/CODE&gt;, there is 6 events and &lt;CODE&gt;list_maxsize&lt;/CODE&gt; is by default to 100.&lt;BR /&gt;
After the &lt;CODE&gt;mvexpand&lt;/CODE&gt;, 600 events, thats totally normal &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;You can change the limits as explain in this answers : &lt;A href="https://answers.splunk.com/answers/132521/stats-command-limit-for-values-of-field-xxx-reached-some-values-may-have-been-truncated-or-ignored.html"&gt;https://answers.splunk.com/answers/132521/stats-command-limit-for-values-of-field-xxx-reached-some-values-may-have-been-truncated-or-ignored.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;KailA&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jul 2018 18:13:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/mvexpand-gives-less-results/m-p/350521#M174582</guid>
      <dc:creator>KailA</dc:creator>
      <dc:date>2018-07-26T18:13:09Z</dc:date>
    </item>
    <item>
      <title>Re: mvexpand gives less results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/mvexpand-gives-less-results/m-p/350522#M174583</link>
      <description>&lt;P&gt;Converted to answer, because this is the most likely scenario.&lt;/P&gt;</description>
      <pubDate>Sun, 26 Aug 2018 20:33:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/mvexpand-gives-less-results/m-p/350522#M174583</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2018-08-26T20:33:17Z</dc:date>
    </item>
  </channel>
</rss>

