<?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: Lookup values not shown on result table in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Lookup-values-not-shown-on-result-table/m-p/493338#M137607</link>
    <description>&lt;P&gt;i would append the lookup table with the user_info.csv&lt;/P&gt;

&lt;P&gt;Something similar to &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;base search to gather all active users with latest login date&amp;gt;
|rename U as UserID
|inputlookup user_info.csv append=true
|stats latest(last_login) as last_login by UserID
|fillnull last_login value="Never"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Sun, 06 Oct 2019 00:44:43 GMT</pubDate>
    <dc:creator>cmerriman</dc:creator>
    <dc:date>2019-10-06T00:44:43Z</dc:date>
    <item>
      <title>Lookup values not shown on result table</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Lookup-values-not-shown-on-result-table/m-p/493337#M137606</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;

&lt;P&gt;I am searching in Splunk for the last login date of a User and export it into a table:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | eval date=strftime(_time,"%F")
| stats latest(date) by U
| table U, latest(date)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Now I have a lookup table (user_info.csv) containing ALL UserID from the system.&lt;BR /&gt;
I would like to include all of them on the my search results, even those who never logged-in in the system. For example (PWMDN):&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;UserID  Last login
 JLSME  2019-02-21
KOEMN   2019-10-12
PWMDN   Never (or 1900-01-01)
JDEMI   2019-09-11
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Do you have any Idea how to do it?&lt;BR /&gt;
Thank you very much&lt;/P&gt;</description>
      <pubDate>Sat, 05 Oct 2019 22:22:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Lookup-values-not-shown-on-result-table/m-p/493337#M137606</guid>
      <dc:creator>dunick</dc:creator>
      <dc:date>2019-10-05T22:22:13Z</dc:date>
    </item>
    <item>
      <title>Re: Lookup values not shown on result table</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Lookup-values-not-shown-on-result-table/m-p/493338#M137607</link>
      <description>&lt;P&gt;i would append the lookup table with the user_info.csv&lt;/P&gt;

&lt;P&gt;Something similar to &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;base search to gather all active users with latest login date&amp;gt;
|rename U as UserID
|inputlookup user_info.csv append=true
|stats latest(last_login) as last_login by UserID
|fillnull last_login value="Never"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 06 Oct 2019 00:44:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Lookup-values-not-shown-on-result-table/m-p/493338#M137607</guid>
      <dc:creator>cmerriman</dc:creator>
      <dc:date>2019-10-06T00:44:43Z</dc:date>
    </item>
    <item>
      <title>Re: Lookup values not shown on result table</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Lookup-values-not-shown-on-result-table/m-p/493339#M137608</link>
      <description>&lt;P&gt;Thank you very much, it works!!&lt;/P&gt;</description>
      <pubDate>Mon, 07 Oct 2019 11:41:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Lookup-values-not-shown-on-result-table/m-p/493339#M137608</guid>
      <dc:creator>dunick</dc:creator>
      <dc:date>2019-10-07T11:41:55Z</dc:date>
    </item>
    <item>
      <title>Re: Lookup values not shown on result table</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Lookup-values-not-shown-on-result-table/m-p/493340#M137609</link>
      <description>&lt;P&gt;Come back and click &lt;CODE&gt;Accept&lt;/CODE&gt; to close the question.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Oct 2019 14:00:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Lookup-values-not-shown-on-result-table/m-p/493340#M137609</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-10-08T14:00:39Z</dc:date>
    </item>
  </channel>
</rss>

