<?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: Re design fields and values in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Re-design-fields-and-values/m-p/497496#M138568</link>
    <description>&lt;P&gt;Thank you Brother @vnravikumar ,  That was so fast &lt;/P&gt;</description>
    <pubDate>Fri, 15 May 2020 03:02:26 GMT</pubDate>
    <dc:creator>Muwafi</dc:creator>
    <dc:date>2020-05-15T03:02:26Z</dc:date>
    <item>
      <title>Re design fields and values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Re-design-fields-and-values/m-p/497494#M138566</link>
      <description>&lt;P&gt;I have fields as shown below:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;_time                  field1              field2
2020-05-12             40-35-32             A-B-C
2020-05-13             63-28-74             A-B-C
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;need to change the events to be:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    _time               field1        field2
    2020-05-12             40             A
    2020-05-12             35             B
    2020-05-12             32             C
    2020-05-13             63             A
    2020-05-13             28             B
    2020-05-13             74             C
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Appreciate your help fellows Splunkers &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt; &lt;/P&gt;</description>
      <pubDate>Fri, 15 May 2020 02:38:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Re-design-fields-and-values/m-p/497494#M138566</guid>
      <dc:creator>Muwafi</dc:creator>
      <dc:date>2020-05-15T02:38:10Z</dc:date>
    </item>
    <item>
      <title>Re: Re design fields and values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Re-design-fields-and-values/m-p/497495#M138567</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;Check this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| makeresults 
| eval _time="2020-05-12",field1="40-35-32",field2="A-B-C" 
| append 
    [| makeresults 
    | eval _time="2020-05-13",field1="63-28-74",field2="A-B-C"] 
| eval field1=split(field1,"-"),field2=split(field2,"-") 
| eval temp=mvzip(field1,field2) 
| mvexpand temp 
| eval temp=split(temp,",") 
| eval field1=mvindex(temp,0),field2=mvindex(temp,1) 
| fields - temp
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 15 May 2020 02:51:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Re-design-fields-and-values/m-p/497495#M138567</guid>
      <dc:creator>vnravikumar</dc:creator>
      <dc:date>2020-05-15T02:51:53Z</dc:date>
    </item>
    <item>
      <title>Re: Re design fields and values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Re-design-fields-and-values/m-p/497496#M138568</link>
      <description>&lt;P&gt;Thank you Brother @vnravikumar ,  That was so fast &lt;/P&gt;</description>
      <pubDate>Fri, 15 May 2020 03:02:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Re-design-fields-and-values/m-p/497496#M138568</guid>
      <dc:creator>Muwafi</dc:creator>
      <dc:date>2020-05-15T03:02:26Z</dc:date>
    </item>
  </channel>
</rss>

