<?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: Merge 2 columns into one in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Merge-2-columns-into-one/m-p/343397#M101680</link>
    <description>&lt;P&gt;Just tack on one extra line, like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Your Existing Search Here
| eval Hits = coalesce(Hits, 'Req-count') | fields - "Req-Count"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 12 Jun 2017 17:42:23 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2017-06-12T17:42:23Z</dc:date>
    <item>
      <title>Merge 2 columns into one</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Merge-2-columns-into-one/m-p/343394#M101677</link>
      <description>&lt;P&gt;I have a query that returns a table like below&lt;/P&gt;

&lt;P&gt;Component             Hits            ResponseTime       Req-count&lt;BR /&gt;
Comp-1                    100               2.3&lt;BR /&gt;
Comp-2                                         5.6                          240&lt;/P&gt;

&lt;P&gt;Both Hits and Req-count means the same but the header values in CSV files are different. I want the result to look like&lt;/P&gt;

&lt;P&gt;Component             Hits            ResponseTime&lt;BR /&gt;
Comp-1                    100               2.3&lt;BR /&gt;
Comp-2                     240              5.6      &lt;/P&gt;

&lt;P&gt;I should make both the fields as same. I tried rename and it did not work.&lt;/P&gt;

&lt;P&gt;It would be very helpful if someone can share their suggestions.                    &lt;/P&gt;</description>
      <pubDate>Mon, 12 Jun 2017 05:10:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Merge-2-columns-into-one/m-p/343394#M101677</guid>
      <dc:creator>premraj_vs</dc:creator>
      <dc:date>2017-06-12T05:10:27Z</dc:date>
    </item>
    <item>
      <title>Re: Merge 2 columns into one</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Merge-2-columns-into-one/m-p/343395#M101678</link>
      <description>&lt;P&gt;have you tried coalesce? &lt;CODE&gt;|eval newField=coalesce(Hits,'Req-count')|fields - Hits "Req-Count"&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jun 2017 11:48:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Merge-2-columns-into-one/m-p/343395#M101678</guid>
      <dc:creator>cmerriman</dc:creator>
      <dc:date>2017-06-12T11:48:13Z</dc:date>
    </item>
    <item>
      <title>Re: Merge 2 columns into one</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Merge-2-columns-into-one/m-p/343396#M101679</link>
      <description>&lt;P&gt;Please post the exact search code with the rename that did not work  Remember to mark it as code so that the interface will not alter the code.&lt;/P&gt;

&lt;P&gt;I suspect that the problem is a capitalization or spelling error, either in the rename line or in a prior line.   &lt;/P&gt;</description>
      <pubDate>Mon, 12 Jun 2017 14:49:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Merge-2-columns-into-one/m-p/343396#M101679</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2017-06-12T14:49:17Z</dc:date>
    </item>
    <item>
      <title>Re: Merge 2 columns into one</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Merge-2-columns-into-one/m-p/343397#M101680</link>
      <description>&lt;P&gt;Just tack on one extra line, like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Your Existing Search Here
| eval Hits = coalesce(Hits, 'Req-count') | fields - "Req-Count"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 12 Jun 2017 17:42:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Merge-2-columns-into-one/m-p/343397#M101680</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-06-12T17:42:23Z</dc:date>
    </item>
  </channel>
</rss>

