<?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: values are missing post lookup in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/values-are-missing-pot-lookup/m-p/549658#M155981</link>
    <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;thank you so much for your help i really appreciate it&lt;BR /&gt;below query works&lt;BR /&gt;&lt;BR /&gt;index=UA sourcetype=apps appname="xyz*"&lt;BR /&gt;| fields EID&lt;BR /&gt;| dedup EID&lt;BR /&gt;| lookup employee.csv EID as EID&lt;BR /&gt;| append [ | inputlookup employee.csv | eval count=0 | dedup MID | fields MID count ]&lt;BR /&gt;| search MID in (M1,M2,M3 M4,M5,M6)&lt;BR /&gt;| stats count(EID) AS total BY MID&lt;/P&gt;</description>
    <pubDate>Wed, 28 Apr 2021 16:11:52 GMT</pubDate>
    <dc:creator>abdul</dc:creator>
    <dc:date>2021-04-28T16:11:52Z</dc:date>
    <item>
      <title>values are missing pot lookup</title>
      <link>https://community.splunk.com/t5/Splunk-Search/values-are-missing-pot-lookup/m-p/549314#M155854</link>
      <description>&lt;P&gt;Not able to find the stats details for all M.&amp;nbsp; tried fill null . it is not working&amp;nbsp;&lt;/P&gt;&lt;P&gt;index=UA sourcetype=apps appname="xyz*"&lt;BR /&gt;|fields EID&lt;BR /&gt;|dedup EID&lt;BR /&gt;|lookup employee.csv EID as EID&lt;BR /&gt;|search MID in (M1,M2,M3 M4,M5,M6)&lt;BR /&gt;|stats count(EID) as total by MID&lt;BR /&gt;&lt;BR /&gt;getting below result. but missing&amp;nbsp; results for M4, M5, M6&lt;BR /&gt;&lt;BR /&gt;MID&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;total&amp;nbsp;&lt;BR /&gt;M1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2&lt;BR /&gt;M2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3&lt;BR /&gt;m3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;4&lt;BR /&gt;&lt;BR /&gt;Expecting below results&lt;BR /&gt;&lt;BR /&gt;MID&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;total&amp;nbsp;&lt;BR /&gt;M1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2&lt;BR /&gt;M2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3&lt;BR /&gt;M3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;4&lt;BR /&gt;M4&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0&lt;BR /&gt;M5&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0&lt;BR /&gt;M6&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0&lt;/P&gt;</description>
      <pubDate>Mon, 26 Apr 2021 09:46:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/values-are-missing-pot-lookup/m-p/549314#M155854</guid>
      <dc:creator>abdul</dc:creator>
      <dc:date>2021-04-26T09:46:38Z</dc:date>
    </item>
    <item>
      <title>Re: values are missing pot lookup</title>
      <link>https://community.splunk.com/t5/Splunk-Search/values-are-missing-pot-lookup/m-p/549317#M155857</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/233167"&gt;@abdul&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;the lookup command associates the lookup values only to the key values that are in the search results, so, if you haven't results, you cannot associate any lookup value.&lt;/P&gt;&lt;P&gt;You can reach your target with a different approach:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=UA sourcetype=apps appname="xyz*"
| fields EID
| dedup EID
| lookup employee.csv EID as EID
| search MID in (M1,M2,M3 M4,M5,M6)
| stats count(EID) as EID by MID
| append [ | inputlookup employee.csv | eval count=0 | dedup MID | fields MID count ]
| stats sum(EID) AS total BY MID&lt;/LI-CODE&gt;&lt;P&gt;In this way you add to your search the condition for the MID not present in the search results.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Mon, 26 Apr 2021 09:58:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/values-are-missing-pot-lookup/m-p/549317#M155857</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2021-04-26T09:58:28Z</dc:date>
    </item>
    <item>
      <title>Re: values are missing pot lookup</title>
      <link>https://community.splunk.com/t5/Splunk-Search/values-are-missing-pot-lookup/m-p/549656#M155980</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;now below result is appearing&amp;nbsp;&lt;BR /&gt;&lt;SPAN&gt;MID&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;total&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;M1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;M2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;m3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Apr 2021 15:36:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/values-are-missing-pot-lookup/m-p/549656#M155980</guid>
      <dc:creator>abdul</dc:creator>
      <dc:date>2021-04-28T15:36:56Z</dc:date>
    </item>
    <item>
      <title>Re: values are missing post lookup</title>
      <link>https://community.splunk.com/t5/Splunk-Search/values-are-missing-pot-lookup/m-p/549658#M155981</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;thank you so much for your help i really appreciate it&lt;BR /&gt;below query works&lt;BR /&gt;&lt;BR /&gt;index=UA sourcetype=apps appname="xyz*"&lt;BR /&gt;| fields EID&lt;BR /&gt;| dedup EID&lt;BR /&gt;| lookup employee.csv EID as EID&lt;BR /&gt;| append [ | inputlookup employee.csv | eval count=0 | dedup MID | fields MID count ]&lt;BR /&gt;| search MID in (M1,M2,M3 M4,M5,M6)&lt;BR /&gt;| stats count(EID) AS total BY MID&lt;/P&gt;</description>
      <pubDate>Wed, 28 Apr 2021 16:11:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/values-are-missing-pot-lookup/m-p/549658#M155981</guid>
      <dc:creator>abdul</dc:creator>
      <dc:date>2021-04-28T16:11:52Z</dc:date>
    </item>
  </channel>
</rss>

