<?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 top n by servicename in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/top-n-by-servicename/m-p/106322#M27644</link>
    <description>&lt;P&gt;I have a splunk instance with many serviceName's in the logs. Is there a query where I can extract the top 15 of each serviceName?  My service names include data such as snmp, syslog, etc.  I want the top 15 of each type&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Fri, 20 May 2011 15:42:56 GMT</pubDate>
    <dc:creator>DTERM</dc:creator>
    <dc:date>2011-05-20T15:42:56Z</dc:date>
    <item>
      <title>top n by servicename</title>
      <link>https://community.splunk.com/t5/Splunk-Search/top-n-by-servicename/m-p/106322#M27644</link>
      <description>&lt;P&gt;I have a splunk instance with many serviceName's in the logs. Is there a query where I can extract the top 15 of each serviceName?  My service names include data such as snmp, syslog, etc.  I want the top 15 of each type&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2011 15:42:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/top-n-by-servicename/m-p/106322#M27644</guid>
      <dc:creator>DTERM</dc:creator>
      <dc:date>2011-05-20T15:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: top n by servicename</title>
      <link>https://community.splunk.com/t5/Splunk-Search/top-n-by-servicename/m-p/106323#M27645</link>
      <description>&lt;P&gt;Splunk's dedup command is right for the job:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;your search&amp;gt; | dedup 15 serviceName
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 20 May 2011 16:12:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/top-n-by-servicename/m-p/106323#M27645</guid>
      <dc:creator>hazekamp</dc:creator>
      <dc:date>2011-05-20T16:12:33Z</dc:date>
    </item>
    <item>
      <title>Re: top n by servicename</title>
      <link>https://community.splunk.com/t5/Splunk-Search/top-n-by-servicename/m-p/106324#M27646</link>
      <description>&lt;P&gt;I am not sure that I understand the results that you want.  If you want to see the 15 most common serviceNames, try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;your search&amp;gt; | top limit=15 serviceName
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This will show the most common 15 serviceNames, along with the number of events for each serviceName.  The results are displayed in a table.  If you click on a row of the table, you will see the underlying events for the corresponding serviceName.&lt;/P&gt;</description>
      <pubDate>Sat, 21 May 2011 01:35:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/top-n-by-servicename/m-p/106324#M27646</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2011-05-21T01:35:36Z</dc:date>
    </item>
  </channel>
</rss>

