<?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 can I mvexpand field of the events from summary index? in Knowledge Management</title>
    <link>https://community.splunk.com/t5/Knowledge-Management/How-can-I-mvexpand-field-of-the-events-from-summary-index/m-p/311878#M2718</link>
    <description>&lt;P&gt;hey you can try something like this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; ...  |stats values(a) as a_list by reason |mvexpand a_list |collect index=test_index 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and then try &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; index=test_index 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I have re-arranged your query by adjusting and removing unnecessary commands!&lt;/P&gt;

&lt;P&gt;let me know if this helps!&lt;/P&gt;</description>
    <pubDate>Fri, 19 Jan 2018 08:03:20 GMT</pubDate>
    <dc:creator>mayurr98</dc:creator>
    <dc:date>2018-01-19T08:03:20Z</dc:date>
    <item>
      <title>How can I mvexpand field of the events from summary index?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-can-I-mvexpand-field-of-the-events-from-summary-index/m-p/311876#M2716</link>
      <description>&lt;P&gt;Before adding results into summary index, I can mvexpand a multi-value field as expected; for checking mvexpand search example,&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;...  |table reason a |stats values(a) as a_list by reason |table reason a_list |collect index=test_index | mvexpand a_list |table  reason a_list | ...
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;By  &lt;CODE&gt;stats&lt;/CODE&gt;, a_list has multi-value. The first &lt;CODE&gt;table reason a&lt;/CODE&gt; and the last &lt;CODE&gt;table reason a_list&lt;/CODE&gt;, though the field names are different (a va a_list), as a whole, the number of results and values are the same as expected.&lt;/P&gt;

&lt;P&gt;But, when I tried to mvexpand to the results in the summary index,&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=test_index | table reason a_list |mvexpand a_list 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;there is no error message, but it can not expand multi-value field.   &lt;/P&gt;

&lt;P&gt;Questions:  Is there any restrictions for mvexpand to be used for events in summary index?&lt;BR /&gt;
                     How can I work around this problem?&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 17:41:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-can-I-mvexpand-field-of-the-events-from-summary-index/m-p/311876#M2716</guid>
      <dc:creator>tac24</dc:creator>
      <dc:date>2020-09-29T17:41:23Z</dc:date>
    </item>
    <item>
      <title>Re: How can I mvexpand field of the events from summary index?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-can-I-mvexpand-field-of-the-events-from-summary-index/m-p/311877#M2717</link>
      <description>&lt;P&gt;Hi @tac24,&lt;BR /&gt;
You can try below:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; ...  |table reason a |stats values(a) as a_list by reason| mvexpand a_list |table reason a_list |collect index=test_index  |table  reason a_list | ...
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Let me know if it works.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jan 2018 05:28:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-can-I-mvexpand-field-of-the-events-from-summary-index/m-p/311877#M2717</guid>
      <dc:creator>493669</dc:creator>
      <dc:date>2018-01-19T05:28:54Z</dc:date>
    </item>
    <item>
      <title>Re: How can I mvexpand field of the events from summary index?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-can-I-mvexpand-field-of-the-events-from-summary-index/m-p/311878#M2718</link>
      <description>&lt;P&gt;hey you can try something like this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; ...  |stats values(a) as a_list by reason |mvexpand a_list |collect index=test_index 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and then try &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; index=test_index 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I have re-arranged your query by adjusting and removing unnecessary commands!&lt;/P&gt;

&lt;P&gt;let me know if this helps!&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jan 2018 08:03:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-can-I-mvexpand-field-of-the-events-from-summary-index/m-p/311878#M2718</guid>
      <dc:creator>mayurr98</dc:creator>
      <dc:date>2018-01-19T08:03:20Z</dc:date>
    </item>
  </channel>
</rss>

