<?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: Combining two field into one output in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Combining-two-field-into-one-output/m-p/329821#M98194</link>
    <description>&lt;P&gt;Try this!&lt;/P&gt;

&lt;P&gt;(your search)|eval company_join=company_id+company_name|table company_join&lt;BR /&gt;
published1microsoft&lt;/P&gt;

&lt;P&gt;(your search)|eval company_join=company_id+":"+company_name|table company_join&lt;BR /&gt;
published1:microsoft&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 17:06:04 GMT</pubDate>
    <dc:creator>HiroshiSatoh</dc:creator>
    <dc:date>2020-09-29T17:06:04Z</dc:date>
    <item>
      <title>Combining two field into one output</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Combining-two-field-into-one-output/m-p/329820#M98193</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Below is the query which generates the table output.&lt;/P&gt;

&lt;P&gt;index=abc sourcetype=report | table company_id , company_name&lt;/P&gt;

&lt;P&gt;OUTPUT&lt;/P&gt;

&lt;P&gt;company_id          company_name&lt;/P&gt;

&lt;P&gt;published1           microsoft&lt;BR /&gt;
published3       google&lt;BR /&gt;
Published4       apple&lt;/P&gt;

&lt;P&gt;Can someone please help me on how can I get the company_id , company_name is one field. something like below:&lt;/P&gt;

&lt;P&gt;Result&lt;BR /&gt;
published1,microsoft&lt;BR /&gt;
published23,google&lt;BR /&gt;
published4,apple&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 17:09:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Combining-two-field-into-one-output/m-p/329820#M98193</guid>
      <dc:creator>kteng2024</dc:creator>
      <dc:date>2020-09-29T17:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: Combining two field into one output</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Combining-two-field-into-one-output/m-p/329821#M98194</link>
      <description>&lt;P&gt;Try this!&lt;/P&gt;

&lt;P&gt;(your search)|eval company_join=company_id+company_name|table company_join&lt;BR /&gt;
published1microsoft&lt;/P&gt;

&lt;P&gt;(your search)|eval company_join=company_id+":"+company_name|table company_join&lt;BR /&gt;
published1:microsoft&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 17:06:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Combining-two-field-into-one-output/m-p/329821#M98194</guid>
      <dc:creator>HiroshiSatoh</dc:creator>
      <dc:date>2020-09-29T17:06:04Z</dc:date>
    </item>
  </channel>
</rss>

