<?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: compare two fields and populate missing values in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/compare-two-fields-and-populate-missing-values/m-p/346331#M160688</link>
    <description>&lt;PRE&gt;&lt;CODE&gt;index=idx_test OR index=idx_test1
| eval comboID=coalesce(id, ID, id1, ID1)
| stats values(comboID)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 14 Jun 2017 17:58:22 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2017-06-14T17:58:22Z</dc:date>
    <item>
      <title>compare two fields and populate missing values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/compare-two-fields-and-populate-missing-values/m-p/346328#M160685</link>
      <description>&lt;P&gt;Dear All,&lt;BR /&gt;
I have a column named called  id in file1.csv and id1 in file2.csv . &lt;/P&gt;

&lt;P&gt;File1.csv:       File2.csv&lt;BR /&gt;
 ID:                ID1&lt;BR /&gt;
1                   1&lt;BR /&gt;
2                   2&lt;BR /&gt;
3&lt;/P&gt;

&lt;P&gt;I have loaded into splunk and assign indexes for two files . I have retrieve the extra value 3 from ID(file1.csv) . Can you please help us in writing the splunk search query. Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jun 2017 17:33:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/compare-two-fields-and-populate-missing-values/m-p/346328#M160685</guid>
      <dc:creator>splunklakshman</dc:creator>
      <dc:date>2017-06-14T17:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: compare two fields and populate missing values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/compare-two-fields-and-populate-missing-values/m-p/346329#M160686</link>
      <description>&lt;P&gt;Like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | eval comboID=coalesce(id, ID, id1, ID1)
| stats values(comboID)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 14 Jun 2017 17:47:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/compare-two-fields-and-populate-missing-values/m-p/346329#M160686</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-06-14T17:47:37Z</dc:date>
    </item>
    <item>
      <title>Re: compare two fields and populate missing values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/compare-two-fields-and-populate-missing-values/m-p/346330#M160687</link>
      <description>&lt;P&gt;Thanks for your posting your query. I have the fields in two indexes 1)  ID in (index=idx_test) and ID1 in (index=idx_test1).  Can you please help me in writing complete query. Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 14:30:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/compare-two-fields-and-populate-missing-values/m-p/346330#M160687</guid>
      <dc:creator>splunklakshman</dc:creator>
      <dc:date>2020-09-29T14:30:07Z</dc:date>
    </item>
    <item>
      <title>Re: compare two fields and populate missing values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/compare-two-fields-and-populate-missing-values/m-p/346331#M160688</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;index=idx_test OR index=idx_test1
| eval comboID=coalesce(id, ID, id1, ID1)
| stats values(comboID)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 14 Jun 2017 17:58:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/compare-two-fields-and-populate-missing-values/m-p/346331#M160688</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-06-14T17:58:22Z</dc:date>
    </item>
    <item>
      <title>Re: compare two fields and populate missing values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/compare-two-fields-and-populate-missing-values/m-p/346332#M160689</link>
      <description>&lt;P&gt;I have tried the above query, its displaying 0 records. Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jun 2017 18:05:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/compare-two-fields-and-populate-missing-values/m-p/346332#M160689</guid>
      <dc:creator>splunklakshman</dc:creator>
      <dc:date>2017-06-14T18:05:38Z</dc:date>
    </item>
    <item>
      <title>Re: compare two fields and populate missing values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/compare-two-fields-and-populate-missing-values/m-p/346333#M160690</link>
      <description>&lt;P&gt;Did you correct the index names to be the ones you assigned to your files?&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jun 2017 18:30:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/compare-two-fields-and-populate-missing-values/m-p/346333#M160690</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2017-06-14T18:30:06Z</dc:date>
    </item>
  </channel>
</rss>

