<?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 edit my search to only show top 5 IPs by Office? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-only-show-top-5-IPs-by-Office/m-p/131402#M35845</link>
    <description>&lt;P&gt;Top removes City and Open columns. And Top does not use values in Open column.&lt;/P&gt;</description>
    <pubDate>Fri, 06 Feb 2015 10:40:54 GMT</pubDate>
    <dc:creator>rus7am</dc:creator>
    <dc:date>2015-02-06T10:40:54Z</dc:date>
    <item>
      <title>How to edit my search to only show top 5 IPs by Office?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-only-show-top-5-IPs-by-Office/m-p/131400#M35843</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;We have this search below: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;stats count(eval(State="OPEN")) as "Open", count(eval(State="CLOSED")) as "Closed" by Office, City, IP  | sort City, Office, -Open
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And results in this table:&lt;/P&gt;

&lt;P&gt;City Office IP Open Closed&lt;BR /&gt;
City1 Office1 IP1 30&lt;BR /&gt;
City1 Office1 IP2 18&lt;BR /&gt;
City1 Office1 IP3 10&lt;BR /&gt;
City1 Office1 IP4 5&lt;BR /&gt;
City1 Office1 IP5 4&lt;BR /&gt;
City1 Office1 IP6 1&lt;BR /&gt;
City1 Office1 IP7 1&lt;BR /&gt;
City1 Office2 IP1 30&lt;BR /&gt;
City1 Office2 IP2 28&lt;BR /&gt;
City1 Office2 IP3 20&lt;BR /&gt;
City1 Office2 IP4 19&lt;BR /&gt;
City1 Office2 IP5 18&lt;BR /&gt;
City1 Office2 IP6 17&lt;BR /&gt;
City1 Office2 IP7 10&lt;BR /&gt;
City1 Office2 IP8 1&lt;/P&gt;

&lt;P&gt;Is it possible to limit it to display only the top 5 IPs by Office?&lt;/P&gt;

&lt;P&gt;City Office IP Open Closed&lt;BR /&gt;
City1 Office1 IP1 30&lt;BR /&gt;
City1 Office1 IP2 18&lt;BR /&gt;
City1 Office1 IP3 10&lt;BR /&gt;
City1 Office1 IP4 5&lt;BR /&gt;
City1 Office1 IP5 4&lt;BR /&gt;
City1 Office2 IP1 30&lt;BR /&gt;
City1 Office2 IP2 28&lt;BR /&gt;
City1 Office2 IP3 20&lt;BR /&gt;
City1 Office2 IP4 19&lt;BR /&gt;
City1 Office2 IP5 18&lt;BR /&gt;
City2 Office1 ...&lt;/P&gt;</description>
      <pubDate>Thu, 05 Feb 2015 16:41:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-only-show-top-5-IPs-by-Office/m-p/131400#M35843</guid>
      <dc:creator>rus7am</dc:creator>
      <dc:date>2015-02-05T16:41:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit my search to only show top 5 IPs by Office?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-only-show-top-5-IPs-by-Office/m-p/131401#M35844</link>
      <description>&lt;P&gt;Use top:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... |top limit=5 IP by Office
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 05 Feb 2015 17:32:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-only-show-top-5-IPs-by-Office/m-p/131401#M35844</guid>
      <dc:creator>jtrucks</dc:creator>
      <dc:date>2015-02-05T17:32:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit my search to only show top 5 IPs by Office?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-only-show-top-5-IPs-by-Office/m-p/131402#M35845</link>
      <description>&lt;P&gt;Top removes City and Open columns. And Top does not use values in Open column.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Feb 2015 10:40:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-only-show-top-5-IPs-by-Office/m-p/131402#M35845</guid>
      <dc:creator>rus7am</dc:creator>
      <dc:date>2015-02-06T10:40:54Z</dc:date>
    </item>
  </channel>
</rss>

