<?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: Help with a simple search in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Help-with-a-simple-search/m-p/600171#M208931</link>
    <description>&lt;P&gt;Does it matter if the dedup was last or the second statement?&lt;/P&gt;</description>
    <pubDate>Wed, 01 Jun 2022 21:08:31 GMT</pubDate>
    <dc:creator>agallegos</dc:creator>
    <dc:date>2022-06-01T21:08:31Z</dc:date>
    <item>
      <title>Help with a simple search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-with-a-simple-search/m-p/600162#M208929</link>
      <description>&lt;P&gt;I am trying to do a search where by:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;index=firewall (src_ip=172.16.0.0/12)&amp;nbsp; dest_ip!(172.16.0.0/12) |&amp;nbsp;table src_ip src_port dest_ip dest_port |&amp;nbsp;dedup src_ip&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I run this search I still see 172.16.0.0/12 destination IP addresses.&amp;nbsp; I've also tried it this way:&lt;/P&gt;
&lt;P&gt;index=firewall (src_ip=172.16.0.0/12) NOT&amp;nbsp; dest_ip! IN (172.16.0.0/12)&amp;nbsp;|&amp;nbsp;table src_ip src_port dest_ip dest_port |&amp;nbsp;dedup src_ip&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jun 2022 20:10:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-with-a-simple-search/m-p/600162#M208929</guid>
      <dc:creator>agallegos</dc:creator>
      <dc:date>2022-06-01T20:10:38Z</dc:date>
    </item>
    <item>
      <title>Re: Help with a simple search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-with-a-simple-search/m-p/600166#M208930</link>
      <description>&lt;P&gt;Assuming it's not just a typo in the question, the syntax is incorrect.&amp;nbsp; Try this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=firewall src_ip=172.16.0.0/12 dest_ip!=172.16.0.0/12 
| dedup src_ip
| table src_ip src_port dest_ip dest_port &lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 01 Jun 2022 20:33:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-with-a-simple-search/m-p/600166#M208930</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-06-01T20:33:26Z</dc:date>
    </item>
    <item>
      <title>Re: Help with a simple search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-with-a-simple-search/m-p/600171#M208931</link>
      <description>&lt;P&gt;Does it matter if the dedup was last or the second statement?&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jun 2022 21:08:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-with-a-simple-search/m-p/600171#M208931</guid>
      <dc:creator>agallegos</dc:creator>
      <dc:date>2022-06-01T21:08:31Z</dc:date>
    </item>
    <item>
      <title>Re: Help with a simple search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-with-a-simple-search/m-p/600190#M208934</link>
      <description>&lt;P&gt;Putting &lt;FONT face="courier new,courier"&gt;dedup&lt;/FONT&gt; first allows the indexers to do part of the deduplication.&amp;nbsp; The &lt;FONT face="courier new,courier"&gt;table&lt;/FONT&gt; command, however, forces execution of the query back to the search head which then has to do all of the deduplication so having the &lt;FONT face="courier new,courier"&gt;dedup&lt;/FONT&gt; last is less performant.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jun 2022 00:19:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-with-a-simple-search/m-p/600190#M208934</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-06-02T00:19:13Z</dc:date>
    </item>
  </channel>
</rss>

