<?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 Static map of user ID with user name in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Static-map-of-user-ID-with-user-name/m-p/97020#M25091</link>
    <description>&lt;P&gt;A finger print server log generates a user ID.  Active directory log has user name. I have excel sheet for the user ID to user name mapping. &lt;BR /&gt;
Could I use splunk to create a static table to map user ID with user name .basically my need is  if the user is on leave ( no log on the finger print server) then if some one uses his password to acess active directory an incident should be created.&lt;/P&gt;

&lt;P&gt;Could this be achieved in splunk.&lt;/P&gt;

&lt;P&gt;Thank you in advance&lt;/P&gt;</description>
    <pubDate>Thu, 12 Jul 2012 16:01:17 GMT</pubDate>
    <dc:creator>nuwan</dc:creator>
    <dc:date>2012-07-12T16:01:17Z</dc:date>
    <item>
      <title>Static map of user ID with user name</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Static-map-of-user-ID-with-user-name/m-p/97020#M25091</link>
      <description>&lt;P&gt;A finger print server log generates a user ID.  Active directory log has user name. I have excel sheet for the user ID to user name mapping. &lt;BR /&gt;
Could I use splunk to create a static table to map user ID with user name .basically my need is  if the user is on leave ( no log on the finger print server) then if some one uses his password to acess active directory an incident should be created.&lt;/P&gt;

&lt;P&gt;Could this be achieved in splunk.&lt;/P&gt;

&lt;P&gt;Thank you in advance&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jul 2012 16:01:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Static-map-of-user-ID-with-user-name/m-p/97020#M25091</guid>
      <dc:creator>nuwan</dc:creator>
      <dc:date>2012-07-12T16:01:17Z</dc:date>
    </item>
    <item>
      <title>Re: Static map of user ID with user name</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Static-map-of-user-ID-with-user-name/m-p/97021#M25092</link>
      <description>&lt;P&gt;Yes. Save your spreadsheet as a comma-separated values file (CSV), then load it into Splunk as a lookup table. Here is the documentation: &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/User/CreateAndConfigureFieldLookups"&gt;Create and Configure Field Lookups&lt;/A&gt;. Be sure to set the advanced options, so that you return a value (such as "Unknown") if there is no match in the lookup table.&lt;/P&gt;

&lt;P&gt;Assuming the following names:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;id_lookup - the name of the lookup you created&lt;/LI&gt;
&lt;LI&gt;fingerprint.log&lt;/LI&gt;
&lt;LI&gt;userId (for the field in the fingerprint.log and the id_lookup)&lt;/LI&gt;
&lt;LI&gt;WinEvent:Security - the sourcetype of the active directory log&lt;/LI&gt;
&lt;LI&gt;userName (for the field in the active directory log and the id_lookup)&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;The following search will return any events that have a userName that is &lt;STRONG&gt;&lt;EM&gt;not&lt;/EM&gt;&lt;/STRONG&gt; in the lookup table.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype=WinEvent::Security | lookup id_lookup userName OUTPUT userId | where userId="Unknown"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This search does not access the fingerprint.log; I don't think it needs to, but perhaps I do not understand the question fully.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jul 2012 20:27:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Static-map-of-user-ID-with-user-name/m-p/97021#M25092</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2012-07-12T20:27:59Z</dc:date>
    </item>
    <item>
      <title>Re: Static map of user ID with user name</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Static-map-of-user-ID-with-user-name/m-p/97022#M25093</link>
      <description>&lt;P&gt;Thank you. I will try this and get back to you.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jul 2012 01:24:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Static-map-of-user-ID-with-user-name/m-p/97022#M25093</guid>
      <dc:creator>nuwan</dc:creator>
      <dc:date>2012-07-13T01:24:16Z</dc:date>
    </item>
  </channel>
</rss>

