<?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 use a list of whitelist mac addresses to find &amp;quot;bad&amp;quot; mac addresses? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-a-list-of-whitelist-mac-addresses-to-find-quot-bad/m-p/338394#M100366</link>
    <description>&lt;P&gt;screenshot from dropl not work&lt;BR /&gt;
&lt;A href="http://d.pr/i/rn4B"&gt;http://d.pr/i/rn4B&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://d.pr/i/Oo6z"&gt;http://d.pr/i/Oo6z&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 20 Apr 2017 07:41:48 GMT</pubDate>
    <dc:creator>k909</dc:creator>
    <dc:date>2017-04-20T07:41:48Z</dc:date>
    <item>
      <title>How to use a list of whitelist mac addresses to find "bad" mac addresses?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-a-list-of-whitelist-mac-addresses-to-find-quot-bad/m-p/338390#M100362</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;
for control dhcp server, need to search "bad" mac addresses, but use whitelist . And need modify search string for add new mac.&lt;BR /&gt;
how use list of whitelist mac addresses to find these "bad" mac addresses?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="cp"   DHCPREQUEST    | eval mac=substr(request_mac,1,8)  | search NOT mac="00:80:9f"  | search NOT mac="44:8a:5b" |  top limit=20 mac
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 19 Apr 2017 07:05:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-a-list-of-whitelist-mac-addresses-to-find-quot-bad/m-p/338390#M100362</guid>
      <dc:creator>k909</dc:creator>
      <dc:date>2017-04-19T07:05:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a list of whitelist mac addresses to find "bad" mac addresses?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-a-list-of-whitelist-mac-addresses-to-find-quot-bad/m-p/338391#M100363</link>
      <description>&lt;P&gt;Do you have list of bad mac addresses? You could create a lookup table file with those addresses (a csv file with single column with header as 'max' and all mac address as values of those bad mac addresses). The filter could be like this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="cp"   DHCPREQUEST    | eval mac=substr(request_mac,1,8)  | search NOT [inputlookup your_bad_mac_lookup.csv | table mac ] |  top limit=20 mac
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 20 Apr 2017 05:12:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-a-list-of-whitelist-mac-addresses-to-find-quot-bad/m-p/338391#M100363</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-04-20T05:12:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a list of whitelist mac addresses to find "bad" mac addresses?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-a-list-of-whitelist-mac-addresses-to-find-quot-bad/m-p/338392#M100364</link>
      <description>&lt;P&gt;I will do this.&lt;/P&gt;

&lt;P&gt;-----whitelist.csv-----&lt;BR /&gt;
mac&lt;BR /&gt;
00:80:9f&lt;BR /&gt;
44:8a:5b&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="cp"   DHCPREQUEST   NOT [|inputlookup whitelist.csv
     |fields mac|rename mac as request_mac
     |eval request_mac=request_mac+"*"]
|eval mac=substr(request_mac,1,8) 
|top limit=20 mac
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 20 Apr 2017 05:20:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-a-list-of-whitelist-mac-addresses-to-find-quot-bad/m-p/338392#M100364</guid>
      <dc:creator>HiroshiSatoh</dc:creator>
      <dc:date>2017-04-20T05:20:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a list of whitelist mac addresses to find "bad" mac addresses?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-a-list-of-whitelist-mac-addresses-to-find-quot-bad/m-p/338393#M100365</link>
      <description>&lt;P&gt;try to configure lookup table firstly&lt;BR /&gt;
but result - bad, not use lookup table&lt;BR /&gt;
where i am wrong?&lt;/P&gt;

&lt;P&gt;&lt;IMG src="http://d.pr/i/Oo6z" alt="Lookup table files" /&gt;&lt;BR /&gt;
&lt;IMG src="http://d.pr/i/rn4B" alt="lookuo defintion" /&gt;&lt;/P&gt;

&lt;P&gt;cat whitelist_mac.csv&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;whl_mac
00:80:9f
44:8a:5b
68:f7:28
78:24:af

index="cp"   DHCPREQUEST       | eval mac=substr(request_mac,1,8)  | search NOT [inputlookup whitelist_mac | table whl_mac ] |  top limit=20 mac 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;mac             count          percent&lt;BR /&gt;
00:80:9f        2606        44.615648&lt;BR /&gt;
44:8a:5b        1424           24.379387&lt;BR /&gt;
9c:1c:12         494            8.457456&lt;/P&gt;</description>
      <pubDate>Thu, 20 Apr 2017 07:40:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-a-list-of-whitelist-mac-addresses-to-find-quot-bad/m-p/338393#M100365</guid>
      <dc:creator>k909</dc:creator>
      <dc:date>2017-04-20T07:40:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a list of whitelist mac addresses to find "bad" mac addresses?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-a-list-of-whitelist-mac-addresses-to-find-quot-bad/m-p/338394#M100366</link>
      <description>&lt;P&gt;screenshot from dropl not work&lt;BR /&gt;
&lt;A href="http://d.pr/i/rn4B"&gt;http://d.pr/i/rn4B&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://d.pr/i/Oo6z"&gt;http://d.pr/i/Oo6z&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Apr 2017 07:41:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-a-list-of-whitelist-mac-addresses-to-find-quot-bad/m-p/338394#M100366</guid>
      <dc:creator>k909</dc:creator>
      <dc:date>2017-04-20T07:41:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a list of whitelist mac addresses to find "bad" mac addresses?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-a-list-of-whitelist-mac-addresses-to-find-quot-bad/m-p/338395#M100367</link>
      <description>&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Fri, 21 Apr 2017 06:22:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-a-list-of-whitelist-mac-addresses-to-find-quot-bad/m-p/338395#M100367</guid>
      <dc:creator>k909</dc:creator>
      <dc:date>2017-04-21T06:22:44Z</dc:date>
    </item>
  </channel>
</rss>

