<?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 How to search iterate through lookup file in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-iterate-through-lookup-file/m-p/486515#M136076</link>
    <description>&lt;P&gt;I have an input lookup table with a list of user accounts we are trying to search through.&lt;/P&gt;

&lt;P&gt;Instead of doing  &lt;CODE&gt;index=wineventlog EventCode=4624 user=user1 OR user=user2 OR user=user3&lt;/CODE&gt;.....etc &lt;/P&gt;

&lt;P&gt;How can I use the lookup table to search on the user field?&lt;BR /&gt;&lt;BR /&gt;
As of now, I have this but it is returning no results:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=wineventlog_ad EventCode=4624 [inputlookup user_list_lookup.csv]
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 26 Sep 2019 19:22:38 GMT</pubDate>
    <dc:creator>chrisfilor</dc:creator>
    <dc:date>2019-09-26T19:22:38Z</dc:date>
    <item>
      <title>How to search iterate through lookup file</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-iterate-through-lookup-file/m-p/486515#M136076</link>
      <description>&lt;P&gt;I have an input lookup table with a list of user accounts we are trying to search through.&lt;/P&gt;

&lt;P&gt;Instead of doing  &lt;CODE&gt;index=wineventlog EventCode=4624 user=user1 OR user=user2 OR user=user3&lt;/CODE&gt;.....etc &lt;/P&gt;

&lt;P&gt;How can I use the lookup table to search on the user field?&lt;BR /&gt;&lt;BR /&gt;
As of now, I have this but it is returning no results:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=wineventlog_ad EventCode=4624 [inputlookup user_list_lookup.csv]
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 26 Sep 2019 19:22:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-iterate-through-lookup-file/m-p/486515#M136076</guid>
      <dc:creator>chrisfilor</dc:creator>
      <dc:date>2019-09-26T19:22:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to search iterate through lookup file</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-iterate-through-lookup-file/m-p/486516#M136077</link>
      <description>&lt;P&gt;Use lookups as lookups. and make sure the column name is the same as the user field in the data or use user AS userName or whatever the field is.&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;index=wineventlog_ad EventCode=4624 | lookup user_list_lookup user OUTPUT user as isFound | where isnotnull(isFound)&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2019 19:30:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-iterate-through-lookup-file/m-p/486516#M136077</guid>
      <dc:creator>starcher</dc:creator>
      <dc:date>2019-09-26T19:30:48Z</dc:date>
    </item>
  </channel>
</rss>

