<?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 doesn't return any data in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Lookup-KVStore-doesn-t-return-any-data/m-p/620519#M215714</link>
    <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/207264"&gt;@thoma1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One thing sticks out is that the account_sid you use in your earlier example had a lower case "s", whereas this example and the data have an upper case "S".&lt;/P&gt;&lt;P&gt;If you do "search sid="s-..." then search is case insensitive, whereas the lookup may or may not be case insensitive, depending on how it's configured.&lt;/P&gt;&lt;P&gt;Just a thought...&lt;/P&gt;&lt;P&gt;But if you "search sid="s..." works, then the data is there, but if the lookup itself doesn't, the data is not exactly as being searched.&lt;/P&gt;&lt;P&gt;Also, in your example here, if you do an equality test after the second lookup (for sanity's sake)&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| eval same=if(account_sid=lookup_account_sid AND len(account_sid)=len(lookup_account_sid), "SAME", "DIFF")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;does it appear to be the same?&lt;/P&gt;&lt;P&gt;I wonder if there are any odd characters in the data in the lookup that are causing it not to match in the lookup.&lt;/P&gt;</description>
    <pubDate>Fri, 11 Nov 2022 00:16:21 GMT</pubDate>
    <dc:creator>bowesmana</dc:creator>
    <dc:date>2022-11-11T00:16:21Z</dc:date>
    <item>
      <title>Lookup (KVStore) doesn't return any data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Lookup-KVStore-doesn-t-return-any-data/m-p/620281#M215620</link>
      <description>&lt;P&gt;Can't seem to get this lookup(KVstore) to function.&lt;BR /&gt;The dataset is from active directory in some cases in the same event the user field isn't populated with the sam account data but rather with the accounts sid.&lt;BR /&gt;I'm trying to enrich the data by applying a lookup that has many fields of information regarding each user so that a table has useable information from the event such as the user name.&lt;BR /&gt;below is the search query:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;index=wineventlog source=WinEventLog:Security
[| inputlookup AD_Audit_Change_EventCodes WHERE change_category="Group Membership"
| stats values(EventCode) AS EventCode by obj_type
| format
| table search] src_user_type="user"
| rex field=member_obj_sam "(?&amp;lt;account_sid&amp;gt;\C-\C-\C-\C\C-[0-9]+-[0-9]+-[0-9]+-[0-9]+)"
| lookup AD_Obj_User sAMAccountName as src_user output displayName as "Admin Display Name"
| lookup AD_Obj_User sid_lookup as account_sid output displayName as "Account Display Name"
| lookup AD_Obj_User sAMAccountName as member output displayName as "Member Display Name"
| lookup CORP_Monitored_Security_Groups_def CORP_group_name as Group_Name output CORP_group_name
| search CORP_group_name=*
| table _time, "Admin Display Name", src_user, Group_Name, msad_action, member_obj_sam, "Member Display Name", MSADGroupClass, MSADGroupType, src_nt_domain, host
| rename src_user as "Admin Account",MSADGroupClass as "Type",MSADGroupType as "Scope",src_nt_domain as "Domain",Group_Name as "Group Modified",msad_action as "Action",member_obj_sam as "Member"
| sort -_time&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The lookups and rex:&lt;/P&gt;
&lt;P&gt;#This works correctly and a new field(account_sid) has the expected data: e.g s-0-0-00-0000000000-0000000000-00000000-000000&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;| rex field=member_obj_sam "(?&amp;lt;account_sid&amp;gt;\C-\C-\C-\C\C-[0-9]+-[0-9]+-[0-9]+-[0-9]+)"&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;#this works as expected&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;| lookup AD_Obj_User sAMAccountName as src_user output displayName as "Admin Display Name"&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;# this does not work!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;| lookup AD_Obj_User sid_lookup as account_sid output displayName as "Account Display Name"&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;#this works as expected&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;| lookup AD_Obj_User sAMAccountName as member output displayName as "Member Display Name"&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;#if i perform the following i get results i expect in a new search window&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;| inputlookup AD_Obj_User | search sid_lookup="s-0-0-00-0000000000-0000000000-00000000-000000"&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm not sure if I've met a lookup limit or if there is an obvious error in the query itself, but i can't see anything in offical litreture as to what is going wrong&lt;/P&gt;</description>
      <pubDate>Thu, 10 Nov 2022 15:23:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Lookup-KVStore-doesn-t-return-any-data/m-p/620281#M215620</guid>
      <dc:creator>thoma1</dc:creator>
      <dc:date>2022-11-10T15:23:35Z</dc:date>
    </item>
    <item>
      <title>Re: Lookup doesn't return any data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Lookup-KVStore-doesn-t-return-any-data/m-p/620374#M215654</link>
      <description>&lt;P&gt;The first piece of information you need to provide is how does AD_Obj_User look like, i.e., illustrate the headers and some sample rows (anonymize as necessary but illustrate any data pattern you use in your search). &amp;nbsp;Secondly, your question appears to be related to&amp;nbsp;AD_Obj_User. &amp;nbsp;But why do you have&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;[| inputlookup AD_Audit_Change_EventCodes WHERE change_category="Group Membership"
| stats values(EventCode) AS EventCode by obj_type
| format
| table search]&lt;/PRE&gt;&lt;P&gt;in the search? &amp;nbsp; You didn't explain anything about AD_Audit_Change_EventCode, either. &amp;nbsp;What does it contain? &amp;nbsp;Is this subsearch even relevant to the main question? (Remember, this is a Splunk forum, not an AD forum. &amp;nbsp;Do not expect others to be familiar with any application specific information.)&lt;/P&gt;&lt;P&gt;Third, "doesn't work" is a phrase to be avoided. &amp;nbsp;It conveys no information in the best of situations. &amp;nbsp;What is to be expected from those commands, and what is the actual outcome? &amp;nbsp;Again, illustration of actual data is critical. &amp;nbsp;If that subsearch involving&amp;nbsp;&lt;EM&gt;AD_Audit_Change_EventCodes&lt;/EM&gt; is essential to troubleshoot your difficulty with&amp;nbsp;AD_Obj_User, you need to illustrate data after applying the subsearch.&lt;/P&gt;&lt;P&gt;Speaking of something obvious, SPL uses PCRE; your regular expression contains XML-specific notation "\C-\C-\C-\C\C-[0-9]+-[0-9]+-[0-9]+-[0-9]+". Do you mean to say "\w-\w-\w-\w\w-[0-9]+-[0-9]+-[0-9]+-[0-9]+"?&lt;/P&gt;</description>
      <pubDate>Thu, 10 Nov 2022 07:42:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Lookup-KVStore-doesn-t-return-any-data/m-p/620374#M215654</guid>
      <dc:creator>yuanliu</dc:creator>
      <dc:date>2022-11-10T07:42:52Z</dc:date>
    </item>
    <item>
      <title>Re: Lookup doesn't return any data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Lookup-KVStore-doesn-t-return-any-data/m-p/620379#M215658</link>
      <description>&lt;P&gt;Also try this, just to prove that the lookup command as written works and you get a "Account Display Name" field with the appropriate name&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| makeresults
| eval account_sid="s-0-0-00-0000000000-0000000000-00000000-000000"
| lookup AD_Obj_User sid_lookup as account_sid output displayName as "Account Display Name"&lt;/LI-CODE&gt;&lt;P&gt;so when you say that doesn't work - are you saying you just don't get the name?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Nov 2022 08:24:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Lookup-KVStore-doesn-t-return-any-data/m-p/620379#M215658</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2022-11-10T08:24:24Z</dc:date>
    </item>
    <item>
      <title>Re: Lookup doesn't return any data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Lookup-KVStore-doesn-t-return-any-data/m-p/620439#M215688</link>
      <description>&lt;P&gt;Thanks both for your posts:&lt;BR /&gt;To add more context this lookup is created and maintained by the splunk app "MS Windows AD Objects"&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/6367"&gt;@bowesmana&lt;/a&gt;:&lt;BR /&gt;Apologies i know "it doesn't work" is non-descriptive. I get no errors executing the search with any of the lookup statements, it just does not return any fields from the lookup from the below:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| lookup AD_Obj_User sid_lookup as account_sid output displayName as "DisplayName1"&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;I performed your search suggestion and the results are what I see with my previous search query. I added a new field with a value that i know exists and works with this lookup and extracted the sid_lookup field to compare the results.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| makeresults
| eval account_sid="S-0-0-00-0000000000-0000000000-00000000-000001"
| eval account_sam="doej"
| lookup AD_Obj_User sid_lookup as account_sid output displayName as "DisplayName1"
| lookup AD_Obj_User sAMAccountName as account_sam output displayName as "DisplayName2", sid_lookup as "lookup_account_sid"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Results:&lt;/P&gt;&lt;TABLE border="1" width="94.29500299866102%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="20%" height="25px"&gt;DisplayName1&lt;/TD&gt;&lt;TD width="20%" height="25px"&gt;DisplayName2&lt;/TD&gt;&lt;TD width="20%" height="25px"&gt;_time&lt;/TD&gt;&lt;TD width="20%" height="25px"&gt;account_sam&lt;/TD&gt;&lt;TD width="1.0030090270812435%" height="25px"&gt;account_sid&lt;/TD&gt;&lt;TD width="8.996990972918756%" height="25px"&gt;lookup_account_sid&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="20%" height="25px"&gt;(empty)&lt;/TD&gt;&lt;TD width="20%" height="25px"&gt;John Doe&lt;/TD&gt;&lt;TD width="20%" height="25px"&gt;00:00:00&lt;/TD&gt;&lt;TD width="20%" height="25px"&gt;doej&lt;/TD&gt;&lt;TD width="1.0030090270812435%" height="25px"&gt;S-0-0-00-0000000000-0000000000-00000000-000001&lt;/TD&gt;&lt;TD width="8.996990972918756%" height="25px"&gt;S-0-0-00-0000000000-0000000000-00000000-000001&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/33901"&gt;@yuanliu&lt;/a&gt;:&lt;BR /&gt;For the sake of posterity, please just ignore the complete search query in my original post. I decided to include it so that the entire picture was shared.&lt;/P&gt;&lt;P&gt;There are a total of 26 headers in this lookup that is built by "MS Windows AD Objects".&lt;BR /&gt;Here is an example of how some of those fields are populated.&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="12.5%" height="25px"&gt;badPwdCount&lt;/TD&gt;&lt;TD width="12.5%" height="25px"&gt;cn&lt;/TD&gt;&lt;TD width="19.910881801125704%" height="25px"&gt;whenChanged&lt;/TD&gt;&lt;TD width="5.089118198874297%" height="25px"&gt;whenCreated&lt;/TD&gt;&lt;TD width="12.5%" height="25px"&gt;isDeleted&lt;/TD&gt;&lt;TD width="12.5%" height="25px"&gt;displayName&lt;/TD&gt;&lt;TD width="12.5%" height="25px"&gt;sAMAccountName&lt;/TD&gt;&lt;TD width="12.5%" height="25px"&gt;sid_lookup&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="12.5%" height="25px"&gt;0&lt;/TD&gt;&lt;TD width="12.5%" height="25px"&gt;john doe&lt;/TD&gt;&lt;TD width="19.910881801125704%" height="25px"&gt;00:00:00&lt;/TD&gt;&lt;TD width="5.089118198874297%" height="25px"&gt;00:00:00&lt;/TD&gt;&lt;TD width="12.5%" height="25px"&gt;no&lt;/TD&gt;&lt;TD width="12.5%" height="25px"&gt;John Doe&lt;/TD&gt;&lt;TD width="12.5%" height="25px"&gt;doej&lt;/TD&gt;&lt;TD width="12.5%" height="25px"&gt;S-0-0-00-0000000000-0000000000-00000000-000001&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is a simplified search, quering just the lookup in question with the same result:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=wineventlog source=WinEventLog:Security EventCode=4728
| rex field=member_obj_sam "(?&amp;lt;account_sid&amp;gt;\w-\w-\w-\w\w-[0-9]+-[0-9]+-[0-9]+-[0-9]+") 
| lookup AD_Obj_User sAMAccountName as src_user output displayName as "Admin Display Name" 
| lookup AD_Obj_User sid_lookup as account_sid output displayName as "Account Display Name 1" 
| lookup AD_Obj_User sAMAccountName as member output displayName as "Account Display Name 2"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;src_user &amp;amp; member both map correctly and extract the fields requested and rename them. sid_lookup&amp;nbsp; fails to return anything, the field exists in the lookup and has data such as "S-0-0-00-0000000000-0000000000-00000000-000002" performing the below resturns the results in the aforementioned lookup fields example.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;|inputlookup AD_Obj_User | search sid_lookup="S-0-0-00-0000000000-0000000000-00000000-000002"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The examples of the events that this search is quering is below, it is the same event type however the data in some of the events is different, one has a human-readable username the other the user's sid(security identifier). The "member_obj_sam" field will be populated with both username and sid, I am using the lookup to return some useful information such as the users full name.&lt;/P&gt;&lt;P&gt;Example 1)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;11/10/2022 12:38:46 PM
LogName=Security
SourceName=Microsoft Windows security auditing.
EventCode=4728
EventType=0
Type=Information
ComputerName=domain-controller.corp
TaskCategory=Security Group Management
OpCode=Info
RecordNumber=0000000000
Keywords=Audit Success
Message=A member was added to a security-enabled global group.

Subject:

	Security ID:		CORP\admin
	Account Name:		admin
	Account Domain:		corp
	Logon ID:			0x000000000

Member:

	Security ID:		CORP\doej
	Account Name:		CN=John Doe,OU=corp-user,OU=Users,DC=corp,DC=com

Group:

	Security ID:		CORP\power_users
	Group Name:			power_users
	Group Domain:		CORP&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example 2)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;1/04/2022 10:10:53 AM
LogName=Security
EventCode=4728
EventType=0
ComputerName=domain-controller2.corp
SourceName=Microsoft Windows security auditing.
Type=Information
RecordNumber=0000000000
Keywords=Audit Success
TaskCategory=Security Group Management
OpCode=Info
Message=A member was added to a security-enabled global group.

Subject:
	Security ID:		S-0-0-00-0000000000-0000000000-00000000-000002
	Account Name:		admin
	Account Domain:		CORP
	Logon ID:			0x000000003

Member:
	Security ID:		S-0-0-00-0000000000-0000000000-00000000-000001
	Account Name:		N=John Doe,OU=corp-user,OU=Users,DC=corp,DC=com

Group:
	Security ID:		S-0-0-00-0000000000-0000000000-00000000-000003
	Group Name:			auditors 
	Group Domain:		CORP

Additional Information:
	Privileges:		-&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Nov 2022 14:51:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Lookup-KVStore-doesn-t-return-any-data/m-p/620439#M215688</guid>
      <dc:creator>thoma1</dc:creator>
      <dc:date>2022-11-10T14:51:02Z</dc:date>
    </item>
    <item>
      <title>Re: Lookup doesn't return any data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Lookup-KVStore-doesn-t-return-any-data/m-p/620519#M215714</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/207264"&gt;@thoma1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One thing sticks out is that the account_sid you use in your earlier example had a lower case "s", whereas this example and the data have an upper case "S".&lt;/P&gt;&lt;P&gt;If you do "search sid="s-..." then search is case insensitive, whereas the lookup may or may not be case insensitive, depending on how it's configured.&lt;/P&gt;&lt;P&gt;Just a thought...&lt;/P&gt;&lt;P&gt;But if you "search sid="s..." works, then the data is there, but if the lookup itself doesn't, the data is not exactly as being searched.&lt;/P&gt;&lt;P&gt;Also, in your example here, if you do an equality test after the second lookup (for sanity's sake)&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| eval same=if(account_sid=lookup_account_sid AND len(account_sid)=len(lookup_account_sid), "SAME", "DIFF")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;does it appear to be the same?&lt;/P&gt;&lt;P&gt;I wonder if there are any odd characters in the data in the lookup that are causing it not to match in the lookup.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Nov 2022 00:16:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Lookup-KVStore-doesn-t-return-any-data/m-p/620519#M215714</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2022-11-11T00:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: Lookup doesn't return any data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Lookup-KVStore-doesn-t-return-any-data/m-p/620537#M215719</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/207264"&gt;@thoma1&lt;/a&gt;&amp;nbsp;Based on the results from your emulated lookup, I am convinced that AD_Obj_User is either corrupt, or its&amp;nbsp;&lt;FONT face="andale mono,times"&gt;sid_lookup&lt;/FONT&gt; column contains characters that is not printed to you but affects outcome. &amp;nbsp;Is it possible that the lookup table is using a different character set from the data source? &amp;nbsp;Maybe the Splunk instance is running in an operating system that doesn't take DOS format nicely?&lt;/P&gt;&lt;P&gt;This is how I reached this conclusion: I took the illustrated portion of the lookup table into a CSV,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;badPwdCount,cn,whenChanged,whenCreated,isDeleted,displayName,sAMAccountName,sid_lookup
0,john doe,00:00:00,00:00:00,no,John Doe,doej,S-0-0-00-0000000000-0000000000-00000000-000001&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;then set this CSV as a lookup named AD_Obj_User. &amp;nbsp;Your emulated lookup gives a different output from what you get using the real table:&amp;nbsp;sid_lookup and&amp;nbsp;account_sid matches as expected.&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;DisplayName1&lt;/TD&gt;&lt;TD&gt;DisplayName2&lt;/TD&gt;&lt;TD&gt;_time&lt;/TD&gt;&lt;TD&gt;account_sam&lt;/TD&gt;&lt;TD&gt;account_sid&lt;/TD&gt;&lt;TD&gt;lookup_account_sid&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;John Doe&lt;/TD&gt;&lt;TD&gt;John Doe&lt;/TD&gt;&lt;TD&gt;2022-11-10 21:46:28&lt;/TD&gt;&lt;TD&gt;doej&lt;/TD&gt;&lt;TD&gt;S-0-0-00-0000000000-0000000000-00000000-000001&lt;/TD&gt;&lt;TD&gt;S-0-0-00-0000000000-0000000000-00000000-000001&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Does this make sense? (I am running Splunk 9.0.2 in MacOS; the lookup file is created with vi then uploaded via Splunk Web.)&lt;/P&gt;</description>
      <pubDate>Fri, 11 Nov 2022 06:09:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Lookup-KVStore-doesn-t-return-any-data/m-p/620537#M215719</guid>
      <dc:creator>yuanliu</dc:creator>
      <dc:date>2022-11-11T06:09:01Z</dc:date>
    </item>
    <item>
      <title>Re: Lookup doesn't return any data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Lookup-KVStore-doesn-t-return-any-data/m-p/620568#M215729</link>
      <description>&lt;P&gt;Thanks for going through the effort. I'm not sure what is occuring. the lookup is a KV Store. I decided to export it with the "splunk app for lookup file editing" as a csv and re-import it as CSV attempting to maintain the same data. To my surprise as a csv lookup that contains the same data and fields. The lookup works as expected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| inputlookup AD_Obj_User_TEST.csv 
| search sid_lookup=S-0-0-00-0000000000-0000000000-00000000-000002
| lookup AD_Obj_User_TEST.csv  sAMAccountName as sAMAccountName output sid_lookup as "SID via SAM"
| lookup AD_Obj_User_TEST.csv  sid_lookup as sid_lookup output sid_lookup as "SID via SID"
| table "SID via SAM", "SID via SID"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="50%"&gt;&lt;A href="https://robertwalters.splunkcloud.com/en-GB/app/search/search?q=%7C%20inputlookup%20AD_Obj_User_TEST.csv%20%0A%7C%20search%20sid_lookup%3DS-1-5-21-1623593711-1907767264-10498456-232995%0A%7C%20lookup%20AD_Obj_User_TEST.csv%20%20sAMAccountName%20as%20sAMAccountName%20output%20sid_lookup%20as%20%22SID%20via%20SAM%22%0A%7C%20lookup%20AD_Obj_User_TEST.csv%20%20sid_lookup%20as%20sid_lookup%20output%20sid_lookup%20as%20%22SID%20via%20SID%22%0A%7C%20table%20%22SID%20via%20SAM%22%2C%20%22SID%20via%20SID%22&amp;amp;display.page.search.mode=verbose&amp;amp;dispatch.sample_ratio=1&amp;amp;workload_pool=standard_perf&amp;amp;earliest=-30m%40m&amp;amp;latest=now&amp;amp;display.page.search.tab=statistics&amp;amp;display.general.type=statistics&amp;amp;sid=1668165752.59214#" target="_blank" rel="noopener"&gt;SID via SAM&lt;/A&gt;&lt;/TD&gt;&lt;TD width="50%"&gt;&lt;A href="https://robertwalters.splunkcloud.com/en-GB/app/search/search?q=%7C%20inputlookup%20AD_Obj_User_TEST.csv%20%0A%7C%20search%20sid_lookup%3DS-1-5-21-1623593711-1907767264-10498456-232995%0A%7C%20lookup%20AD_Obj_User_TEST.csv%20%20sAMAccountName%20as%20sAMAccountName%20output%20sid_lookup%20as%20%22SID%20via%20SAM%22%0A%7C%20lookup%20AD_Obj_User_TEST.csv%20%20sid_lookup%20as%20sid_lookup%20output%20sid_lookup%20as%20%22SID%20via%20SID%22%0A%7C%20table%20%22SID%20via%20SAM%22%2C%20%22SID%20via%20SID%22&amp;amp;display.page.search.mode=verbose&amp;amp;dispatch.sample_ratio=1&amp;amp;workload_pool=standard_perf&amp;amp;earliest=-30m%40m&amp;amp;latest=now&amp;amp;display.page.search.tab=statistics&amp;amp;display.general.type=statistics&amp;amp;display.statistics.sortColumn=SID%20via%20SID&amp;amp;sid=1668165752.59214#" target="_blank" rel="noopener"&gt;SID via SID&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%"&gt;S-0-0-00-0000000000-0000000000-00000000-000002&lt;/TD&gt;&lt;TD width="50%"&gt;S-0-0-00-0000000000-0000000000-00000000-000002&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The SH/Idx are both cloud instances so I have little say about the underlying OS&lt;/P&gt;</description>
      <pubDate>Fri, 11 Nov 2022 11:27:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Lookup-KVStore-doesn-t-return-any-data/m-p/620568#M215729</guid>
      <dc:creator>thoma1</dc:creator>
      <dc:date>2022-11-11T11:27:13Z</dc:date>
    </item>
    <item>
      <title>Re: Lookup doesn't return any data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Lookup-KVStore-doesn-t-return-any-data/m-p/620572#M215732</link>
      <description>&lt;P&gt;Glad you get to the bottom of the problem. &amp;nbsp;All I can say is that no cloud loves MS-DOS, not even Asure. &amp;nbsp;You should contact the developer of that application.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Nov 2022 11:41:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Lookup-KVStore-doesn-t-return-any-data/m-p/620572#M215732</guid>
      <dc:creator>yuanliu</dc:creator>
      <dc:date>2022-11-11T11:41:16Z</dc:date>
    </item>
    <item>
      <title>Re: Lookup doesn't return any data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Lookup-KVStore-doesn-t-return-any-data/m-p/620573#M215733</link>
      <description>&lt;P&gt;I thought about it the case sensitivty and wiether it's lower or upper case s doesn't seem to impact the results from the lookup with the search. Performing your equality test with the upper case is the result is SAME with the lower case s the result is DIFF&lt;/P&gt;</description>
      <pubDate>Fri, 11 Nov 2022 11:43:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Lookup-KVStore-doesn-t-return-any-data/m-p/620573#M215733</guid>
      <dc:creator>thoma1</dc:creator>
      <dc:date>2022-11-11T11:43:21Z</dc:date>
    </item>
    <item>
      <title>Re: Lookup doesn't return any data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Lookup-KVStore-doesn-t-return-any-data/m-p/620574#M215734</link>
      <description>&lt;P&gt;It's splunkcloud so I believe it's hosted on AWS not Azure.&lt;/P&gt;&lt;P&gt;I think i'm just going to have to bruteforce it and create a CSV with outputlookup that runs regularlly. And see if the dev of that app has any insights as to the issue.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Nov 2022 11:46:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Lookup-KVStore-doesn-t-return-any-data/m-p/620574#M215734</guid>
      <dc:creator>thoma1</dc:creator>
      <dc:date>2022-11-11T11:46:55Z</dc:date>
    </item>
    <item>
      <title>Re: Lookup doesn't return any data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Lookup-KVStore-doesn-t-return-any-data/m-p/620575#M215735</link>
      <description>&lt;P&gt;Possible alternative: configure/hack that app to write to CSV file as opposed to KV store to see if that saves some effort.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Nov 2022 11:50:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Lookup-KVStore-doesn-t-return-any-data/m-p/620575#M215735</guid>
      <dc:creator>yuanliu</dc:creator>
      <dc:date>2022-11-11T11:50:52Z</dc:date>
    </item>
    <item>
      <title>Re: Lookup doesn't return any data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Lookup-KVStore-doesn-t-return-any-data/m-p/620585#M215742</link>
      <description>&lt;P&gt;I would look at that but as it's splunkcloud i have no terminal access to the instance to do that. Roll back would be easier as i could copy the entire app directory and then hack away&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Nov 2022 13:04:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Lookup-KVStore-doesn-t-return-any-data/m-p/620585#M215742</guid>
      <dc:creator>thoma1</dc:creator>
      <dc:date>2022-11-11T13:04:02Z</dc:date>
    </item>
  </channel>
</rss>

