<?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 Why are exclusions using lookup failing? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Why-are-exclusions-using-lookup-failing/m-p/510907#M143083</link>
    <description>&lt;P&gt;I'm looking signatures in snort but I want to exclude some of the signature IDs by using inputlookup, but it doesn't seem to exclude them.&lt;/P&gt;
&lt;P&gt;My search&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;index=security-snort sourcetype="snort" | search NOT [ | inputlookup SnortSigEx.csv ] | stats values(name) as name by signature | dedup signature&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 24 Jul 2020 22:30:56 GMT</pubDate>
    <dc:creator>rgarcia</dc:creator>
    <dc:date>2020-07-24T22:30:56Z</dc:date>
    <item>
      <title>Why are exclusions using lookup failing?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-are-exclusions-using-lookup-failing/m-p/510907#M143083</link>
      <description>&lt;P&gt;I'm looking signatures in snort but I want to exclude some of the signature IDs by using inputlookup, but it doesn't seem to exclude them.&lt;/P&gt;
&lt;P&gt;My search&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;index=security-snort sourcetype="snort" | search NOT [ | inputlookup SnortSigEx.csv ] | stats values(name) as name by signature | dedup signature&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jul 2020 22:30:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-are-exclusions-using-lookup-failing/m-p/510907#M143083</guid>
      <dc:creator>rgarcia</dc:creator>
      <dc:date>2020-07-24T22:30:56Z</dc:date>
    </item>
    <item>
      <title>Re: Exclusions using lookup fails</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-are-exclusions-using-lookup-failing/m-p/510910#M143084</link>
      <description>&lt;P&gt;&lt;SPAN&gt;index=security-snort sourcetype="snort" | search NOT [ | inputlookup SnortSigEx.csv&lt;STRONG&gt; | fields signature | format&lt;/STRONG&gt;] | stats values(name) as name by signature | dedup signature&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jul 2020 22:11:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-are-exclusions-using-lookup-failing/m-p/510910#M143084</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-07-24T22:11:44Z</dc:date>
    </item>
    <item>
      <title>Re: Exclusions using lookup fails</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-are-exclusions-using-lookup-failing/m-p/510913#M143085</link>
      <description>&lt;P&gt;Thanks for replying, but unfortunetely I'm still seeing the IDs in the search results...which are supposed to be excluded.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does the lookup file need to be in a certain format (header names)? Permission are set to all apps and for admin and power users&lt;/P&gt;&lt;P&gt;Note: I'm an Admin&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jul 2020 22:40:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-are-exclusions-using-lookup-failing/m-p/510913#M143085</guid>
      <dc:creator>rgarcia</dc:creator>
      <dc:date>2020-07-24T22:40:03Z</dc:date>
    </item>
    <item>
      <title>Re: Exclusions using lookup fails</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-are-exclusions-using-lookup-failing/m-p/510914#M143086</link>
      <description>&lt;P&gt;please provide CSV and search detail.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jul 2020 22:51:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-are-exclusions-using-lookup-failing/m-p/510914#M143086</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-07-24T22:51:18Z</dc:date>
    </item>
    <item>
      <title>Re: Exclusions using lookup fails</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-are-exclusions-using-lookup-failing/m-p/510918#M143087</link>
      <description>&lt;P&gt;Search&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;index=security-snort sourcetype="snort" | search NOT [ | inputlookup SnortSigEx.csv | fields signature | format] | stats values(name) as name by signature | dedup signature&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="snort.PNG" style="width: 658px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/9867iC003CBC95EADB4DD/image-size/large?v=v2&amp;amp;px=999" role="button" title="snort.PNG" alt="snort.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jul 2020 23:03:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-are-exclusions-using-lookup-failing/m-p/510918#M143087</guid>
      <dc:creator>rgarcia</dc:creator>
      <dc:date>2020-07-24T23:03:49Z</dc:date>
    </item>
    <item>
      <title>Re: Exclusions using lookup fails</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-are-exclusions-using-lookup-failing/m-p/510932#M143093</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/224081"&gt;@rgarcia&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I suppose that the field name of the signature ID is signature in both the security-snort index and&amp;nbsp; lookup, in this case try, please,&amp;nbsp;something like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=security-snort sourcetype="snort" NOT [ | inputlookup SnortSigEx.csv | fields signature ] 
| stats values(name) as name by signature&lt;/LI-CODE&gt;&lt;P&gt;If instead tyhe field name s are different and you have&amp;nbsp; ID in the security-snort index and fields1 in lookup, in this case try, please, try this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=security-snort sourcetype="snort" NOT [ | inputlookup SnortSigEx.csv | rename column1 AS ID | fields ID ] 
| stats values(name) as name by ID&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Sat, 25 Jul 2020 06:06:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-are-exclusions-using-lookup-failing/m-p/510932#M143093</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-07-25T06:06:33Z</dc:date>
    </item>
    <item>
      <title>Re: Exclusions using lookup fails</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-are-exclusions-using-lookup-failing/m-p/511148#M143168</link>
      <description>&lt;P&gt;Thanks for replying, but unfortunately neither worked as the search returned all the values ignoring the input lookup file to exclude the sig id.&lt;/P&gt;&lt;P&gt;Is there another way to exclude multiple values?&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="snort2.PNG" style="width: 945px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/9887iFDDACF5AC593119F/image-size/large?v=v2&amp;amp;px=999" role="button" title="snort2.PNG" alt="snort2.PNG" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jul 2020 15:20:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-are-exclusions-using-lookup-failing/m-p/511148#M143168</guid>
      <dc:creator>rgarcia</dc:creator>
      <dc:date>2020-07-27T15:20:57Z</dc:date>
    </item>
    <item>
      <title>Re: Exclusions using lookup fails</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-are-exclusions-using-lookup-failing/m-p/511160#M143170</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/224081"&gt;@rgarcia&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;could you share:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;a sample of your logs where there's the "53590" signature? (You can take it in the events tab),&lt;/LI&gt;&lt;LI&gt;the lookup column names,&lt;/LI&gt;&lt;LI&gt;the "53590" value in lookup.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Then, could you check what's the field name of signature in security-snort index and lookup (field names are case sensitive)?&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jul 2020 15:37:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-are-exclusions-using-lookup-failing/m-p/511160#M143170</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-07-27T15:37:03Z</dc:date>
    </item>
    <item>
      <title>Re: Exclusions using lookup fails</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-are-exclusions-using-lookup-failing/m-p/511162#M143171</link>
      <description>&lt;P&gt;I already provided that info in my previous posts.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jul 2020 15:43:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-are-exclusions-using-lookup-failing/m-p/511162#M143171</guid>
      <dc:creator>rgarcia</dc:creator>
      <dc:date>2020-07-27T15:43:36Z</dc:date>
    </item>
    <item>
      <title>Re: Exclusions using lookup fails</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-are-exclusions-using-lookup-failing/m-p/511168#M143173</link>
      <description>&lt;P&gt;Here is the field from the events&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="snort3.PNG" style="width: 595px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/9888iFDFFF0BEFC8BBA7A/image-size/large?v=v2&amp;amp;px=999" role="button" title="snort3.PNG" alt="snort3.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jul 2020 15:45:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-are-exclusions-using-lookup-failing/m-p/511168#M143173</guid>
      <dc:creator>rgarcia</dc:creator>
      <dc:date>2020-07-27T15:45:22Z</dc:date>
    </item>
    <item>
      <title>Re: Exclusions using lookup fails</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-are-exclusions-using-lookup-failing/m-p/511169#M143174</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/224081"&gt;@rgarcia&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Sorry I forgot it!&lt;/P&gt;&lt;P&gt;Anyway, the field name of signature in Lookup isn't signature but Column1, so you have to rename it in lookup or in the search.&lt;/P&gt;&lt;P&gt;if in the search, try this please:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=security-snort sourcetype="snort" NOT [ | inputlookup SnortSigEx.csv | rename column1 AS signature | fields signature ] 
| stats values(name) as name by signature&lt;/LI-CODE&gt;&lt;P&gt;To use a lookup to exclude or include values in a search, the field names must be the same in both the main search and the lookup.&lt;/P&gt;&lt;P&gt;&amp;nbsp;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jul 2020 15:48:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-are-exclusions-using-lookup-failing/m-p/511169#M143174</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-07-27T15:48:34Z</dc:date>
    </item>
    <item>
      <title>Re: Exclusions using lookup fails</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-are-exclusions-using-lookup-failing/m-p/511215#M143201</link>
      <description>&lt;P&gt;Thank you, just had to use upper-case "c" and it worked.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jul 2020 19:59:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-are-exclusions-using-lookup-failing/m-p/511215#M143201</guid>
      <dc:creator>rgarcia</dc:creator>
      <dc:date>2020-07-27T19:59:49Z</dc:date>
    </item>
    <item>
      <title>Re: Exclusions using lookup fails</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-are-exclusions-using-lookup-failing/m-p/511265#M143281</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/224081"&gt;@rgarcia&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Good!&lt;/P&gt;&lt;P&gt;Please accept the answer fo the other people of the Community.&lt;/P&gt;&lt;P&gt;Ciao and next time!&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;P.S.: Karma Points are appreciated &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jul 2020 06:51:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-are-exclusions-using-lookup-failing/m-p/511265#M143281</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-07-28T06:51:00Z</dc:date>
    </item>
  </channel>
</rss>

