<?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 filtering results in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Help-with-filtering-results/m-p/32219#M5717</link>
    <description>&lt;P&gt;I figured it out:&lt;/P&gt;

&lt;P&gt;dedup dest_ip,dest_port sortby -score&lt;/P&gt;</description>
    <pubDate>Wed, 26 Jan 2011 04:41:20 GMT</pubDate>
    <dc:creator>jambajuice</dc:creator>
    <dc:date>2011-01-26T04:41:20Z</dc:date>
    <item>
      <title>Help with filtering results</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Help-with-filtering-results/m-p/32218#M5716</link>
      <description>&lt;P&gt;I have results that look like the following&lt;/P&gt;

&lt;P&gt;dest_ip, dest_port, protocol, cve_id, score  &lt;/P&gt;

&lt;P&gt;192.168.1.1, 80, tcp, 2009-1234, 8.5&lt;BR /&gt;
192.168.1.1, 80, tcp, 2007-6543, 9&lt;BR /&gt;
192.168.1.1, 80, tcp, 2004-8435, 6  &lt;/P&gt;

&lt;P&gt;If I want to return the result for each dest_ip/dest_port combination that has the highest score, how do I do that?  I've tried using sort and dedup to sort the fields by score (descending) and then dedup the results, but it isn't working.&lt;/P&gt;

&lt;P&gt;Any help would be appreciated.&lt;/P&gt;

&lt;P&gt;Thx.&lt;/P&gt;

&lt;P&gt;Craig&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jan 2011 04:11:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Help-with-filtering-results/m-p/32218#M5716</guid>
      <dc:creator>jambajuice</dc:creator>
      <dc:date>2011-01-26T04:11:31Z</dc:date>
    </item>
    <item>
      <title>Re: Help with filtering results</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Help-with-filtering-results/m-p/32219#M5717</link>
      <description>&lt;P&gt;I figured it out:&lt;/P&gt;

&lt;P&gt;dedup dest_ip,dest_port sortby -score&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jan 2011 04:41:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Help-with-filtering-results/m-p/32219#M5717</guid>
      <dc:creator>jambajuice</dc:creator>
      <dc:date>2011-01-26T04:41:20Z</dc:date>
    </item>
  </channel>
</rss>

