<?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: How to find missing values from different lookups? in Reporting</title>
    <link>https://community.splunk.com/t5/Reporting/How-to-find-missing-values-from-different-lookups/m-p/530321#M8574</link>
    <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I'm new to Splunk and I am still struggling with the concept. I was able to join the lookups, and all their different values are listed, but I am still not able to get Yes where the Employee Name exists or No - which could be in either CSV.&amp;nbsp; I would like to have 2 separate column&amp;nbsp; for each CSV and under it either a yes or a no. Any advice at this point is greatly appreciated.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I think my main issue is just getting to find away to use the csv as a filed in Splunk.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| inputlookup  Employee_Names1.csv  | inputlookup append=t Emplyee_Names2.csv | rename "First Name" as FirstName "Title" as Role

| eval  Emplyee=if(Employee_Names1.csv ="EmplyeeName","Yes", "No") 
| eval  Emplyee=if(Emplyee_Names2.csv ="EmplyeeName","Yes", "No") 
| stats values(Employee_Names1.csv) as List1, values(Emplyee_Names2.csv) as List2 by Emplyee name &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 22 Nov 2020 07:19:46 GMT</pubDate>
    <dc:creator>Mary666</dc:creator>
    <dc:date>2020-11-22T07:19:46Z</dc:date>
    <item>
      <title>How to find missing values from different lookups?</title>
      <link>https://community.splunk.com/t5/Reporting/How-to-find-missing-values-from-different-lookups/m-p/530282#M8572</link>
      <description>&lt;P&gt;I have two different lookups and I need to compare and find the missing employee names. If present in one lookup it should display yes and if not present it should display no. Here is an example.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Lookup 1:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Sam&lt;/P&gt;
&lt;P&gt;Sheila&lt;/P&gt;
&lt;P&gt;James&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Lookup 2:&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Sam&lt;/P&gt;
&lt;P&gt;Sheila&lt;/P&gt;
&lt;P&gt;James&lt;/P&gt;
&lt;P&gt;Tom&lt;/P&gt;
&lt;P&gt;Then create two columns and display yes or no if name is present or not.&amp;nbsp;&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="33.333333333333336%" height="24px"&gt;Employee Names&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="24px"&gt;Lookup 1&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="24px"&gt;Lookup 2&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="33.333333333333336%" height="24px"&gt;Sam&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="24px"&gt;YES&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="24px"&gt;Yes&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="33.333333333333336%" height="24px"&gt;Sheila&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="24px"&gt;YES&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="24px"&gt;Yes&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="33.333333333333336%" height="24px"&gt;James&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="24px"&gt;YES&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="24px"&gt;Yes&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="33.333333333333336%" height="24px"&gt;Tom&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="24px"&gt;&lt;FONT color="#3366FF"&gt;No&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="24px"&gt;Yes&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;</description>
      <pubDate>Sat, 21 Nov 2020 05:43:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/How-to-find-missing-values-from-different-lookups/m-p/530282#M8572</guid>
      <dc:creator>Mary666</dc:creator>
      <dc:date>2020-11-21T05:43:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to find missing values from different lookups?</title>
      <link>https://community.splunk.com/t5/Reporting/How-to-find-missing-values-from-different-lookups/m-p/530284#M8573</link>
      <description>&lt;P&gt;Read the first lookup, evaluate a variable unique to that lookup if there isn't one already. Append the other lookup with a unique value for that lookup. Do a stats values(lookup1unique) values(lookup2unique) by employee name. Then where either lookup1unique is null or lookup2unique is null, you have a missing employee name&lt;/P&gt;</description>
      <pubDate>Sat, 21 Nov 2020 09:31:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/How-to-find-missing-values-from-different-lookups/m-p/530284#M8573</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2020-11-21T09:31:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to find missing values from different lookups?</title>
      <link>https://community.splunk.com/t5/Reporting/How-to-find-missing-values-from-different-lookups/m-p/530321#M8574</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I'm new to Splunk and I am still struggling with the concept. I was able to join the lookups, and all their different values are listed, but I am still not able to get Yes where the Employee Name exists or No - which could be in either CSV.&amp;nbsp; I would like to have 2 separate column&amp;nbsp; for each CSV and under it either a yes or a no. Any advice at this point is greatly appreciated.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I think my main issue is just getting to find away to use the csv as a filed in Splunk.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| inputlookup  Employee_Names1.csv  | inputlookup append=t Emplyee_Names2.csv | rename "First Name" as FirstName "Title" as Role

| eval  Emplyee=if(Employee_Names1.csv ="EmplyeeName","Yes", "No") 
| eval  Emplyee=if(Emplyee_Names2.csv ="EmplyeeName","Yes", "No") 
| stats values(Employee_Names1.csv) as List1, values(Emplyee_Names2.csv) as List2 by Emplyee name &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 22 Nov 2020 07:19:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/How-to-find-missing-values-from-different-lookups/m-p/530321#M8574</guid>
      <dc:creator>Mary666</dc:creator>
      <dc:date>2020-11-22T07:19:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to find missing values from different lookups?</title>
      <link>https://community.splunk.com/t5/Reporting/How-to-find-missing-values-from-different-lookups/m-p/532887#M8626</link>
      <description>&lt;P&gt;I figured it out,&lt;BR /&gt;&lt;BR /&gt;So here I am comparing lookups. If name is in lookup 1 display Yes otherwise No, if in lookup 2 display yes otherwise no.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I had used static values on my dropdown filter for the dashboard. Therefore, the 0,2,1--- 0 means its in both reports, 2 means its in Lookup 1, and 1 means its in lookup 2.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;| New Field Name Created to identify the name=if(Lookup_1="Yes", if(Lookup_2="Yes",0,2),1)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 12 Dec 2020 01:20:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/How-to-find-missing-values-from-different-lookups/m-p/532887#M8626</guid>
      <dc:creator>Mary666</dc:creator>
      <dc:date>2020-12-12T01:20:12Z</dc:date>
    </item>
  </channel>
</rss>

