<?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 filter specfic result in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-filter-specfic-result/m-p/562108#M195489</link>
    <description>&lt;P&gt;In my search result, I have the "Description" field.&lt;BR /&gt;The Description field contains both texts and 2 IP details.&lt;BR /&gt;I want to check both IPs with my lookup table.&lt;BR /&gt;If the IPs are not present in the lookup then I need the result.&amp;nbsp;&amp;nbsp;If the IPs are present in my lookup table then I want to filter the result.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kindly help here.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alexspunkshell_0-1628093699803.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/15431i211DC1968779B3AA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alexspunkshell_0-1628093699803.png" alt="alexspunkshell_0-1628093699803.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 04 Aug 2021 19:21:20 GMT</pubDate>
    <dc:creator>alexspunkshell</dc:creator>
    <dc:date>2021-08-04T19:21:20Z</dc:date>
    <item>
      <title>How to filter specfic result</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-filter-specfic-result/m-p/562108#M195489</link>
      <description>&lt;P&gt;In my search result, I have the "Description" field.&lt;BR /&gt;The Description field contains both texts and 2 IP details.&lt;BR /&gt;I want to check both IPs with my lookup table.&lt;BR /&gt;If the IPs are not present in the lookup then I need the result.&amp;nbsp;&amp;nbsp;If the IPs are present in my lookup table then I want to filter the result.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kindly help here.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alexspunkshell_0-1628093699803.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/15431i211DC1968779B3AA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alexspunkshell_0-1628093699803.png" alt="alexspunkshell_0-1628093699803.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Aug 2021 19:21:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-filter-specfic-result/m-p/562108#M195489</guid>
      <dc:creator>alexspunkshell</dc:creator>
      <dc:date>2021-08-04T19:21:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter specfic result</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-filter-specfic-result/m-p/562120#M195490</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/126376"&gt;@alexspunkshell&lt;/a&gt;,&amp;nbsp;&lt;BR /&gt;Use rex to extract IPs and lookup IPs in the lookup table.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex field=Description max_match=0 "(?&amp;lt;IP&amp;gt;\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})" 
| lookup lookup_table lookup_table_IP_field AS IP OUTPUT lookup_table_IP_field as new_field
| where mvcount(IP)=mvcount(new_field)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this reply helps you, a like would be appreciated.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Aug 2021 18:11:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-filter-specfic-result/m-p/562120#M195490</guid>
      <dc:creator>manjunathmeti</dc:creator>
      <dc:date>2021-08-04T18:11:41Z</dc:date>
    </item>
  </channel>
</rss>

