<?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 come our INPUTLOOKUP is returning no results? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-come-our-INPUTLOOKUP-is-returning-no-results/m-p/395544#M114857</link>
    <description>&lt;P&gt;Use &lt;/P&gt;

&lt;P&gt;index=wineventlog source=WinEventLog:Security [|inputlookup AD_Audit_Change_EventCodes| WHERE change_category="User"]&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 23:28:38 GMT</pubDate>
    <dc:creator>dhirendra224761</dc:creator>
    <dc:date>2020-09-29T23:28:38Z</dc:date>
    <item>
      <title>How come our INPUTLOOKUP is returning no results?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-come-our-INPUTLOOKUP-is-returning-no-results/m-p/395542#M114855</link>
      <description>&lt;P&gt;I'm trying to get this use case going from MS Windows AD Objects, but I can't get any results.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;index=wineventlog source=WinEventLog:Security [|inputlookup AD_Audit_Change_EventCodes WHERE change_category="User"]&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;I have a deployment server on prem and a Splunk Cloud instance. &lt;/P&gt;

&lt;P&gt;Where should I go to troubleshoot?  The lookup definition is present in settings as is the lookup file (in the Cloud.)  I even tried creating a stanza in transforms.conf on the deployment server in the \Program Files\Splunk\etc\deployment-apps\Splunk_TA_microsoft_ad\local directory.&lt;/P&gt;

&lt;P&gt;**####### Windows Security Event Log ######&lt;/P&gt;

&lt;H2&gt;Lookups&lt;/H2&gt;

&lt;P&gt;[AD_Audit_Change_EventCodes]&lt;BR /&gt;
filename = ms_ad_obj_change_eventcodes.csv**&lt;/P&gt;

&lt;P&gt;What am I missing here?  Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 23:20:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-come-our-INPUTLOOKUP-is-returning-no-results/m-p/395542#M114855</guid>
      <dc:creator>sbgoldberg13</dc:creator>
      <dc:date>2020-09-29T23:20:15Z</dc:date>
    </item>
    <item>
      <title>Re: How come our INPUTLOOKUP is returning no results?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-come-our-INPUTLOOKUP-is-returning-no-results/m-p/395543#M114856</link>
      <description>&lt;P&gt;Hi sbgoldberg13,&lt;/P&gt;

&lt;P&gt;I reckon it is permission related, make sure to configure the permission so the lookup is globally available - see the docs for more details &lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Admin/Apparchitectureandobjectownership"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Admin/Apparchitectureandobjectownership&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Hope this helps ...&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Fri, 22 Feb 2019 20:03:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-come-our-INPUTLOOKUP-is-returning-no-results/m-p/395543#M114856</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2019-02-22T20:03:13Z</dc:date>
    </item>
    <item>
      <title>Re: How come our INPUTLOOKUP is returning no results?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-come-our-INPUTLOOKUP-is-returning-no-results/m-p/395544#M114857</link>
      <description>&lt;P&gt;Use &lt;/P&gt;

&lt;P&gt;index=wineventlog source=WinEventLog:Security [|inputlookup AD_Audit_Change_EventCodes| WHERE change_category="User"]&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 23:28:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-come-our-INPUTLOOKUP-is-returning-no-results/m-p/395544#M114857</guid>
      <dc:creator>dhirendra224761</dc:creator>
      <dc:date>2020-09-29T23:28:38Z</dc:date>
    </item>
    <item>
      <title>Re: How come our INPUTLOOKUP is returning no results?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-come-our-INPUTLOOKUP-is-returning-no-results/m-p/395545#M114858</link>
      <description>&lt;P&gt;Whenever you are debugging a search, break it down.&lt;BR /&gt;
Does this return events?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|inputlookup AD_Audit_Change_EventCodes
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If so, then does this return events (not that I added a pipe ( &lt;CODE&gt;|&lt;/CODE&gt; ) before your &lt;CODE&gt;WHERE&lt;/CODE&gt; and I switched to &lt;CODE&gt;search&lt;/CODE&gt; instead (I always use &lt;CODE&gt;search&lt;/CODE&gt; when the Right-Hand-Side value is a string constant)?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|inputlookup AD_Audit_Change_EventCodes | search change_category="User"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If so, then use &lt;CODE&gt;format&lt;/CODE&gt; to see what search string is generated; does it look like what you need?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|inputlookup AD_Audit_Change_EventCodes | search change_category="User" | format
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You should be good-to-go.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2019 03:47:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-come-our-INPUTLOOKUP-is-returning-no-results/m-p/395545#M114858</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-03-06T03:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: How come our INPUTLOOKUP is returning no results?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-come-our-INPUTLOOKUP-is-returning-no-results/m-p/395546#M114859</link>
      <description>&lt;P&gt;Hi I am having the same issue. Were you able to get this search working? Particularly the macro that is not working is called &lt;CODE&gt;ms_ad_obj_all_changes_base&lt;/CODE&gt; from "MS Windows AD Objects" app. The search is "eventtype=ms_ad_obj_wineventlog_security [|inputlookup AD_Audit_Change_EventCodes | stats values(EventCode) AS EventCode by obj_type | format | table search] src_user_type="user" | search NOT(EventCode=4723 AND src_user!=user)". When ran separately "|inputlookup AD_Audit_Change_EventCodes | stats values(EventCode) AS EventCode by obj_type | format | table search" or "eventtype=ms_ad_obj_wineventlog_security" I get results but when put together I get no results. I have checked macro, file and definition permissions all look intact. Also tried separating everything from each other in the search no luck. Thank you for any help in this.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 23:40:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-come-our-INPUTLOOKUP-is-returning-no-results/m-p/395546#M114859</guid>
      <dc:creator>agadayev</dc:creator>
      <dc:date>2020-09-29T23:40:39Z</dc:date>
    </item>
  </channel>
</rss>

