<?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 to whitelist through subsearching with out lookups? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-whitelist-through-subsearching-with-out-lookups/m-p/640656#M221967</link>
    <description>&lt;P&gt;I am not sure I understand - the subsearch with dedup and table essentially produces a list of users found in the subsearch e.g. ((user=="user1") OR (user=="user2")), which is added to the end of the initial search, thereby whitelisting the users from the main search. Is this not what you want to do?&lt;/P&gt;&lt;P&gt;(This is similar to&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;search ... [| inputlookup lookupfile.csv | dedup user | table user]&lt;/LI-CODE&gt;&lt;P&gt;which you may have seen elsewhere.)&lt;/P&gt;</description>
    <pubDate>Wed, 19 Apr 2023 17:03:54 GMT</pubDate>
    <dc:creator>ITWhisperer</dc:creator>
    <dc:date>2023-04-19T17:03:54Z</dc:date>
    <item>
      <title>How to whitelist through subsearching with out lookups?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-whitelist-through-subsearching-with-out-lookups/m-p/640650#M221964</link>
      <description>&lt;P&gt;So there's ton of documentations of whitelisting through the subsearch approach using lookups, however, is it possible to whitelist using another search criteria within a search?&lt;/P&gt;&lt;P&gt;For example...&lt;/P&gt;&lt;P&gt;| search 1 index=blah1&lt;/P&gt;&lt;P&gt;[ sub search 2 index=blah2 ]&lt;/P&gt;&lt;P&gt;| if user in search 2 is in 1, whitelist&lt;BR /&gt;&lt;BR /&gt;Remember, I know how to whitelist through lookups. Just curious to know if there is another way.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2023 16:43:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-whitelist-through-subsearching-with-out-lookups/m-p/640650#M221964</guid>
      <dc:creator>Henesys</dc:creator>
      <dc:date>2023-04-19T16:43:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to whitelist through subsearching with out lookups?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-whitelist-through-subsearching-with-out-lookups/m-p/640653#M221965</link>
      <description>&lt;LI-CODE lang="markup"&gt;| search 1 index=blah1

[ sub search 2 index=blah2 | dedup user | table user]&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 19 Apr 2023 16:53:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-whitelist-through-subsearching-with-out-lookups/m-p/640653#M221965</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2023-04-19T16:53:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to whitelist through subsearching with out lookups?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-whitelist-through-subsearching-with-out-lookups/m-p/640654#M221966</link>
      <description>&lt;P&gt;Not quite what I'm looking for. That would just simply output a table with user regardless if user from search 2 was in search 1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there anyway to make it so it can correlate or match and provide a new field saying matched between the two searches?&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2023 16:57:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-whitelist-through-subsearching-with-out-lookups/m-p/640654#M221966</guid>
      <dc:creator>Henesys</dc:creator>
      <dc:date>2023-04-19T16:57:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to whitelist through subsearching with out lookups?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-whitelist-through-subsearching-with-out-lookups/m-p/640656#M221967</link>
      <description>&lt;P&gt;I am not sure I understand - the subsearch with dedup and table essentially produces a list of users found in the subsearch e.g. ((user=="user1") OR (user=="user2")), which is added to the end of the initial search, thereby whitelisting the users from the main search. Is this not what you want to do?&lt;/P&gt;&lt;P&gt;(This is similar to&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;search ... [| inputlookup lookupfile.csv | dedup user | table user]&lt;/LI-CODE&gt;&lt;P&gt;which you may have seen elsewhere.)&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2023 17:03:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-whitelist-through-subsearching-with-out-lookups/m-p/640656#M221967</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2023-04-19T17:03:54Z</dc:date>
    </item>
  </channel>
</rss>

