<?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 how to expand multi value fields with different formats in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/how-to-expand-multi-value-fields-with-different-formats/m-p/439731#M125073</link>
    <description>&lt;P&gt;Hi ,&lt;/P&gt;

&lt;P&gt;I want to expand as erach event for the attached example&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/5135iF2AFA1183658E5E0/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>Thu, 07 Jun 2018 07:04:47 GMT</pubDate>
    <dc:creator>Rajkumarkbm2</dc:creator>
    <dc:date>2018-06-07T07:04:47Z</dc:date>
    <item>
      <title>how to expand multi value fields with different formats</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-expand-multi-value-fields-with-different-formats/m-p/439731#M125073</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;

&lt;P&gt;I want to expand as erach event for the attached example&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/5135iF2AFA1183658E5E0/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>Thu, 07 Jun 2018 07:04:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-expand-multi-value-fields-with-different-formats/m-p/439731#M125073</guid>
      <dc:creator>Rajkumarkbm2</dc:creator>
      <dc:date>2018-06-07T07:04:47Z</dc:date>
    </item>
    <item>
      <title>Re: how to expand multi value fields with different formats</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-expand-multi-value-fields-with-different-formats/m-p/439732#M125074</link>
      <description>&lt;P&gt;&lt;CODE&gt;mvexpand&lt;/CODE&gt; command&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/7.1.1/SearchReference/Mvexpand"&gt;http://docs.splunk.com/Documentation/Splunk/7.1.1/SearchReference/Mvexpand&lt;/A&gt;&lt;BR /&gt;
however it seems like a result of a query, most likely the query / search can be modified to provide your desired result.&lt;BR /&gt;
can you share your search query?&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jun 2018 13:46:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-expand-multi-value-fields-with-different-formats/m-p/439732#M125074</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2018-06-07T13:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: how to expand multi value fields with different formats</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-expand-multi-value-fields-with-different-formats/m-p/439733#M125075</link>
      <description>&lt;P&gt;Hi @Rajkumarkbm2,&lt;/P&gt;

&lt;P&gt;Can you please try following search?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;YOUR_SEARCH 
| eval temp = mvzip(mvzip(mvzip(mvzip(mvzip(mvzip(mvzip(mvzip(mvzip(mvzip(hours_target,expectedCycles),threshold),state_Name),
state_type),hours_state_duration),state_reason),state_occurences),state_setupExceeded),state_reasonExceeded),state_color)
| stats count by _time,machine,shift,start,end,temp
| eval hours_target = mvindex(split(temp,","),0), expectedCycles = mvindex(split(temp,","),1), threshold = mvindex(split(temp,","),2), state_Name = mvindex(split(temp,","),3), state_type = mvindex(split(temp,","),4), hours_state_duration = mvindex(split(temp,","),5), state_reason = mvindex(split(temp,","),6), state_occurences = mvindex(split(temp,","),7), state_setupExceeded = mvindex(split(temp,","),8), state_reasonExceeded = mvindex(split(temp,","),9), state_color = mvindex(split(temp,","),10)
| fields - temp
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Note: As I have took fields from your attached screen shot, please make sure all fields mentioned in search.&lt;/P&gt;

&lt;P&gt;Happy Splunking&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jun 2018 14:04:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-expand-multi-value-fields-with-different-formats/m-p/439733#M125075</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2018-06-07T14:04:07Z</dc:date>
    </item>
  </channel>
</rss>

