<?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 is there a way to compare two list columns transfer values to another column? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/is-there-a-way-to-compare-two-list-columns-transfer-values-to/m-p/374048#M162933</link>
    <description>&lt;P&gt;i have events that has columns like this:&lt;/P&gt;

&lt;P&gt;date1               date2&lt;BR /&gt;
01/01/2018     01/01/2018&lt;BR /&gt;
01/02/2018     01/26/2018&lt;BR /&gt;
01/03/2018     03/12/2018&lt;BR /&gt;
01/04/2018     04/1/2018&lt;BR /&gt;
01/05/2018 &lt;BR /&gt;
01/06/2018&lt;/P&gt;

&lt;P&gt;I want to compare them and extract same values to another column. is it possible? thanks in advance.&lt;/P&gt;</description>
    <pubDate>Tue, 13 Feb 2018 05:24:13 GMT</pubDate>
    <dc:creator>leirga11</dc:creator>
    <dc:date>2018-02-13T05:24:13Z</dc:date>
    <item>
      <title>is there a way to compare two list columns transfer values to another column?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/is-there-a-way-to-compare-two-list-columns-transfer-values-to/m-p/374048#M162933</link>
      <description>&lt;P&gt;i have events that has columns like this:&lt;/P&gt;

&lt;P&gt;date1               date2&lt;BR /&gt;
01/01/2018     01/01/2018&lt;BR /&gt;
01/02/2018     01/26/2018&lt;BR /&gt;
01/03/2018     03/12/2018&lt;BR /&gt;
01/04/2018     04/1/2018&lt;BR /&gt;
01/05/2018 &lt;BR /&gt;
01/06/2018&lt;/P&gt;

&lt;P&gt;I want to compare them and extract same values to another column. is it possible? thanks in advance.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2018 05:24:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/is-there-a-way-to-compare-two-list-columns-transfer-values-to/m-p/374048#M162933</guid>
      <dc:creator>leirga11</dc:creator>
      <dc:date>2018-02-13T05:24:13Z</dc:date>
    </item>
    <item>
      <title>Re: is there a way to compare two list columns transfer values to another column?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/is-there-a-way-to-compare-two-list-columns-transfer-values-to/m-p/374049#M162934</link>
      <description>&lt;P&gt;try this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;...|table date1 date2 | eval common = if(date1=date2,date1,null())
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;use if condition to check if it matches and if not matched then its value will be null&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2018 11:33:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/is-there-a-way-to-compare-two-list-columns-transfer-values-to/m-p/374049#M162934</guid>
      <dc:creator>493669</dc:creator>
      <dc:date>2018-02-13T11:33:46Z</dc:date>
    </item>
    <item>
      <title>Re: is there a way to compare two list columns transfer values to another column?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/is-there-a-way-to-compare-two-list-columns-transfer-values-to/m-p/374050#M162935</link>
      <description>&lt;P&gt;I used this command but nothing happened.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2018 08:22:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/is-there-a-way-to-compare-two-list-columns-transfer-values-to/m-p/374050#M162935</guid>
      <dc:creator>leirga11</dc:creator>
      <dc:date>2018-02-14T08:22:48Z</dc:date>
    </item>
    <item>
      <title>Re: is there a way to compare two list columns transfer values to another column?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/is-there-a-way-to-compare-two-list-columns-transfer-values-to/m-p/374051#M162936</link>
      <description>&lt;P&gt;try the updated query&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2018 08:56:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/is-there-a-way-to-compare-two-list-columns-transfer-values-to/m-p/374051#M162936</guid>
      <dc:creator>493669</dc:creator>
      <dc:date>2018-02-14T08:56:44Z</dc:date>
    </item>
  </channel>
</rss>

