<?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 to combine multiple fields? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-combine-multiple-fields/m-p/303137#M91207</link>
    <description>&lt;P&gt;I am looking to join all the names together and have them report as one name. &lt;/P&gt;</description>
    <pubDate>Thu, 18 May 2017 18:31:52 GMT</pubDate>
    <dc:creator>zkenaga</dc:creator>
    <dc:date>2017-05-18T18:31:52Z</dc:date>
    <item>
      <title>How to combine multiple fields?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-combine-multiple-fields/m-p/303135#M91205</link>
      <description>&lt;P&gt;I have multiple fields with the name name_zz_(more after this)&lt;/P&gt;

&lt;P&gt;How would I be able to merge all of the like tests into one field?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 14:08:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-combine-multiple-fields/m-p/303135#M91205</guid>
      <dc:creator>zkenaga</dc:creator>
      <dc:date>2020-09-29T14:08:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine multiple fields?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-combine-multiple-fields/m-p/303136#M91206</link>
      <description>&lt;P&gt;You want to merge values (concatenate values) OR each event will have single field but different name but you want to create a common name field?&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2017 18:22:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-combine-multiple-fields/m-p/303136#M91206</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-05-18T18:22:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine multiple fields?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-combine-multiple-fields/m-p/303137#M91207</link>
      <description>&lt;P&gt;I am looking to join all the names together and have them report as one name. &lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2017 18:31:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-combine-multiple-fields/m-p/303137#M91207</guid>
      <dc:creator>zkenaga</dc:creator>
      <dc:date>2017-05-18T18:31:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine multiple fields?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-combine-multiple-fields/m-p/303138#M91208</link>
      <description>&lt;P&gt;right now I have&lt;/P&gt;

&lt;P&gt;name_zz_1&lt;BR /&gt;
name_zz_2&lt;BR /&gt;
name_zz_3&lt;/P&gt;

&lt;P&gt;I would like to have those combined to just report as name_zz&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 14:08:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-combine-multiple-fields/m-p/303138#M91208</guid>
      <dc:creator>zkenaga</dc:creator>
      <dc:date>2020-09-29T14:08:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine multiple fields?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-combine-multiple-fields/m-p/303139#M91209</link>
      <description>&lt;P&gt;So basically, right now you've to do like this to see all values?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;...some search | table ..some fields.. name_zz_1 name_zz_2 name_zz_3
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and you want to do like&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;...some search | table ..some fields.. name_zz
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Where &lt;CODE&gt;name_zz&lt;/CODE&gt; will contain values of all 3 (or any number of fields) &lt;CODE&gt;name_zz_N&lt;/CODE&gt; fields?&lt;/P&gt;

&lt;P&gt;It's generally easier for us if you can post some sample values and corresponding expected output.&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2017 18:35:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-combine-multiple-fields/m-p/303139#M91209</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-05-18T18:35:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine multiple fields?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-combine-multiple-fields/m-p/303140#M91210</link>
      <description>&lt;P&gt;If its  the first case (multiple fields to be combined into one), try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;...some search.. | eval name_zz="" | foreach name_zz_* [| eval name_zz=coalesce('&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;'.",","").name_zz] | fields - name_zz_*
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 18 May 2017 18:38:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-combine-multiple-fields/m-p/303140#M91210</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-05-18T18:38:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine multiple fields?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-combine-multiple-fields/m-p/303141#M91211</link>
      <description>&lt;P&gt;Take a look at this post:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/49394/merge-two-fields-into-one-field.html"&gt;https://answers.splunk.com/answers/49394/merge-two-fields-into-one-field.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2017 18:50:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-combine-multiple-fields/m-p/303141#M91211</guid>
      <dc:creator>kmorris_splunk</dc:creator>
      <dc:date>2017-05-18T18:50:09Z</dc:date>
    </item>
  </channel>
</rss>

