<?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 Watchlist Lookup in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Watchlist-Lookup/m-p/76403#M19326</link>
    <description>&lt;P&gt;Hello, we need help setting up an ongoing query against a watchlist of suspicious IP addresses. We have made the following config changes so far with no results:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;&lt;P&gt;created a .CSV file in $SPLUNKroot\etc\apps\search\lookups (see sample contents below)&lt;/P&gt;

&lt;P&gt;bad_ip,suspicious&lt;BR /&gt;
X.X2.12.12,1&lt;BR /&gt;
X.X3.12.13,1&lt;BR /&gt;
X.X4.191.4,1&lt;BR /&gt;
X.X5.191.14,1&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;create the following props.conf; and transform.conf in \search\local\&lt;/P&gt;&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;&lt;STRONG&gt;props.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[cisco_asa]
LOOKUP-watch = sampl_watchlist bad_ip AS src
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;transforms.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[sampl_watchlist]
filename = sampl_watchlist.csv
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Basically, how can we run our firewall logs against the watch list and alert on all matches. Thanks.&lt;/P&gt;</description>
    <pubDate>Mon, 01 Oct 2012 16:12:44 GMT</pubDate>
    <dc:creator>opsec</dc:creator>
    <dc:date>2012-10-01T16:12:44Z</dc:date>
    <item>
      <title>Watchlist Lookup</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Watchlist-Lookup/m-p/76403#M19326</link>
      <description>&lt;P&gt;Hello, we need help setting up an ongoing query against a watchlist of suspicious IP addresses. We have made the following config changes so far with no results:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;&lt;P&gt;created a .CSV file in $SPLUNKroot\etc\apps\search\lookups (see sample contents below)&lt;/P&gt;

&lt;P&gt;bad_ip,suspicious&lt;BR /&gt;
X.X2.12.12,1&lt;BR /&gt;
X.X3.12.13,1&lt;BR /&gt;
X.X4.191.4,1&lt;BR /&gt;
X.X5.191.14,1&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;create the following props.conf; and transform.conf in \search\local\&lt;/P&gt;&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;&lt;STRONG&gt;props.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[cisco_asa]
LOOKUP-watch = sampl_watchlist bad_ip AS src
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;transforms.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[sampl_watchlist]
filename = sampl_watchlist.csv
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Basically, how can we run our firewall logs against the watch list and alert on all matches. Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Oct 2012 16:12:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Watchlist-Lookup/m-p/76403#M19326</guid>
      <dc:creator>opsec</dc:creator>
      <dc:date>2012-10-01T16:12:44Z</dc:date>
    </item>
    <item>
      <title>Re: Watchlist Lookup</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Watchlist-Lookup/m-p/76404#M19327</link>
      <description>&lt;P&gt;This should do it:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype=cisco_asa suspicious=1
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;because you defined an automatic lookup in props.conf&lt;/P&gt;

&lt;P&gt;BTW, I would add the following to transforms.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;min_matches = 1
default_match = "no match"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;which will let you do other interesting searches, too.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Oct 2012 22:53:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Watchlist-Lookup/m-p/76404#M19327</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2012-10-02T22:53:09Z</dc:date>
    </item>
  </channel>
</rss>

