<?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: convert two values same name in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/convert-two-values-same-name/m-p/24247#M4410</link>
    <description>&lt;P&gt;eval command is useful to combine filed. Can you try following command and confirm if this work for your case?&lt;/P&gt;

&lt;P&gt;... | eval same_name=mvappend(field1, field2)&lt;/P&gt;</description>
    <pubDate>Wed, 08 Aug 2012 23:51:17 GMT</pubDate>
    <dc:creator>Takajian</dc:creator>
    <dc:date>2012-08-08T23:51:17Z</dc:date>
    <item>
      <title>convert two values same name</title>
      <link>https://community.splunk.com/t5/Splunk-Search/convert-two-values-same-name/m-p/24246#M4409</link>
      <description>&lt;P&gt;I have two field names from different sourcetype with the desired value that I want to put in a table with the same name how do i assign the same name to both fields?&lt;/P&gt;</description>
      <pubDate>Thu, 02 Aug 2012 16:18:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/convert-two-values-same-name/m-p/24246#M4409</guid>
      <dc:creator>hartfoml</dc:creator>
      <dc:date>2012-08-02T16:18:23Z</dc:date>
    </item>
    <item>
      <title>Re: convert two values same name</title>
      <link>https://community.splunk.com/t5/Splunk-Search/convert-two-values-same-name/m-p/24247#M4410</link>
      <description>&lt;P&gt;eval command is useful to combine filed. Can you try following command and confirm if this work for your case?&lt;/P&gt;

&lt;P&gt;... | eval same_name=mvappend(field1, field2)&lt;/P&gt;</description>
      <pubDate>Wed, 08 Aug 2012 23:51:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/convert-two-values-same-name/m-p/24247#M4410</guid>
      <dc:creator>Takajian</dc:creator>
      <dc:date>2012-08-08T23:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: convert two values same name</title>
      <link>https://community.splunk.com/t5/Splunk-Search/convert-two-values-same-name/m-p/24248#M4411</link>
      <description>&lt;P&gt;For different sourcetypes you can use &lt;CODE&gt;eval name = coalesce(field1, field2)&lt;/CODE&gt;and combining different field names to single field you use the above mentioned by Takajian &lt;CODE&gt;eval name = mvappend(field1, field2, ...)&lt;/CODE&gt;it can combine multiple fields to single.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2016 09:56:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/convert-two-values-same-name/m-p/24248#M4411</guid>
      <dc:creator>kamaleshwarn</dc:creator>
      <dc:date>2016-11-03T09:56:38Z</dc:date>
    </item>
  </channel>
</rss>

