<?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 How to combine two fields to one field in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-combine-two-fields-to-one-field/m-p/219979#M64659</link>
    <description>&lt;P&gt;I WANT TO COMBINE THOSE TIMESTAMP INTO ONE COLUMN HOW CAN I DO THAT &lt;/P&gt;

&lt;P&gt;BUT I DON'T WANT USE THE TRANSACTION COMMAND&lt;/P&gt;

&lt;P&gt;HELP ME GUYS THE SAMPLE TABLE &lt;/P&gt;

&lt;P&gt;ID               TIMESTAMP1            TIMESTAMP2 &lt;BR /&gt;
1                       ---------  ------                       201&lt;BR /&gt;
1                          210                ------------------&lt;BR /&gt;
2                       ---------------                     310&lt;BR /&gt;
2                           310                       --------------- &lt;/P&gt;

&lt;P&gt;I WANT TO COMBINE BOTH OF THEM BUT DON'T USE TRANSACTION COMMAND.&lt;/P&gt;</description>
    <pubDate>Mon, 14 Nov 2016 20:33:52 GMT</pubDate>
    <dc:creator>prashanthberam</dc:creator>
    <dc:date>2016-11-14T20:33:52Z</dc:date>
    <item>
      <title>How to combine two fields to one field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-combine-two-fields-to-one-field/m-p/219979#M64659</link>
      <description>&lt;P&gt;I WANT TO COMBINE THOSE TIMESTAMP INTO ONE COLUMN HOW CAN I DO THAT &lt;/P&gt;

&lt;P&gt;BUT I DON'T WANT USE THE TRANSACTION COMMAND&lt;/P&gt;

&lt;P&gt;HELP ME GUYS THE SAMPLE TABLE &lt;/P&gt;

&lt;P&gt;ID               TIMESTAMP1            TIMESTAMP2 &lt;BR /&gt;
1                       ---------  ------                       201&lt;BR /&gt;
1                          210                ------------------&lt;BR /&gt;
2                       ---------------                     310&lt;BR /&gt;
2                           310                       --------------- &lt;/P&gt;

&lt;P&gt;I WANT TO COMBINE BOTH OF THEM BUT DON'T USE TRANSACTION COMMAND.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2016 20:33:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-combine-two-fields-to-one-field/m-p/219979#M64659</guid>
      <dc:creator>prashanthberam</dc:creator>
      <dc:date>2016-11-14T20:33:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine two fields to one field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-combine-two-fields-to-one-field/m-p/219980#M64660</link>
      <description>&lt;P&gt;try this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | eval timestamp = coalesce(timestamp1, timestamp2)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 14 Nov 2016 20:37:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-combine-two-fields-to-one-field/m-p/219980#M64660</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2016-11-14T20:37:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine two fields to one field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-combine-two-fields-to-one-field/m-p/219981#M64661</link>
      <description>&lt;P&gt;NO AM NOT GETTING THE RESULT WAS SAME IN FACT AM LOSING THE ONE COLUMN&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2016 20:40:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-combine-two-fields-to-one-field/m-p/219981#M64661</guid>
      <dc:creator>prashanthberam</dc:creator>
      <dc:date>2016-11-14T20:40:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine two fields to one field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-combine-two-fields-to-one-field/m-p/219982#M64662</link>
      <description>&lt;P&gt;No need to shout!&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2016 20:40:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-combine-two-fields-to-one-field/m-p/219982#M64662</guid>
      <dc:creator>ChrisG</dc:creator>
      <dc:date>2016-11-14T20:40:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine two fields to one field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-combine-two-fields-to-one-field/m-p/219983#M64663</link>
      <description>&lt;P&gt;Give this a try&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;your base search | stats values(TIMESTAMP1) as TIMESTAMP1 values(TIMESTAMP2) as TIMESTAMP2 by ID
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 14 Nov 2016 20:43:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-combine-two-fields-to-one-field/m-p/219983#M64663</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-11-14T20:43:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine two fields to one field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-combine-two-fields-to-one-field/m-p/219984#M64664</link>
      <description>&lt;P&gt;it's worked perfectly thank you so much somesh...&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2016 20:51:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-combine-two-fields-to-one-field/m-p/219984#M64664</guid>
      <dc:creator>prashanthberam</dc:creator>
      <dc:date>2016-11-14T20:51:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine two fields to one field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-combine-two-fields-to-one-field/m-p/219985#M64665</link>
      <description>&lt;P&gt;you didn't specify what result you wanted, and this combines the two fields into one field as you requested.&lt;/P&gt;

&lt;P&gt;somesh's answer you accepted combines two rows into one row. be more specific in your question.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2016 20:55:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-combine-two-fields-to-one-field/m-p/219985#M64665</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2016-11-14T20:55:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine two fields to one field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-combine-two-fields-to-one-field/m-p/219986#M64666</link>
      <description>&lt;P&gt;actually  single id am getting 1 column empty and other column have the value&lt;BR /&gt;
in the same way    id no 1    has another row that is also the same &lt;/P&gt;

&lt;P&gt;so i want to dis play like this &lt;/P&gt;

&lt;P&gt;1          210     201&lt;BR /&gt;
2          310      310&lt;BR /&gt;
3         410       450&lt;/P&gt;

&lt;P&gt;like this .... &lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2016 20:59:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-combine-two-fields-to-one-field/m-p/219986#M64666</guid>
      <dc:creator>prashanthberam</dc:creator>
      <dc:date>2016-11-14T20:59:39Z</dc:date>
    </item>
  </channel>
</rss>

