<?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 searching TOP query in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/searching-TOP-query/m-p/73385#M18372</link>
    <description>&lt;P&gt;Hi Folks, First time using splunk, i've managed to get my draytek router chucking the logs to splunk.&lt;/P&gt;

&lt;P&gt;id like to perform a search so i can create a dashboard panel that shows me the TOP DNS queries, im not sure of the best way to do this, perhaps some one can point me in the right direction and provide me some code if needs be.&lt;/P&gt;

&lt;P&gt;I would be really very qreatful for any help i can get.&lt;/P&gt;

&lt;P&gt;Below is a log extract showing a dns lookup - raw data from the draytek&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Jun 24 16:22:06 192.168.y.x Jun 24 16:20:51 Router: Local User (MAC=AA-BB-CC-DD-EE-FF): 192.168.y.x DNS -&amp;gt; 212.159.6.10 inquire orcart.facebook.com
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 24 Jun 2013 15:40:31 GMT</pubDate>
    <dc:creator>rootadmin</dc:creator>
    <dc:date>2013-06-24T15:40:31Z</dc:date>
    <item>
      <title>searching TOP query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/searching-TOP-query/m-p/73385#M18372</link>
      <description>&lt;P&gt;Hi Folks, First time using splunk, i've managed to get my draytek router chucking the logs to splunk.&lt;/P&gt;

&lt;P&gt;id like to perform a search so i can create a dashboard panel that shows me the TOP DNS queries, im not sure of the best way to do this, perhaps some one can point me in the right direction and provide me some code if needs be.&lt;/P&gt;

&lt;P&gt;I would be really very qreatful for any help i can get.&lt;/P&gt;

&lt;P&gt;Below is a log extract showing a dns lookup - raw data from the draytek&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Jun 24 16:22:06 192.168.y.x Jun 24 16:20:51 Router: Local User (MAC=AA-BB-CC-DD-EE-FF): 192.168.y.x DNS -&amp;gt; 212.159.6.10 inquire orcart.facebook.com
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 24 Jun 2013 15:40:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/searching-TOP-query/m-p/73385#M18372</guid>
      <dc:creator>rootadmin</dc:creator>
      <dc:date>2013-06-24T15:40:31Z</dc:date>
    </item>
    <item>
      <title>Re: searching TOP query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/searching-TOP-query/m-p/73386#M18373</link>
      <description>&lt;P&gt;You will firstly need to extract the fields you require..&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0.3/Knowledge/Addfieldsatsearchtime"&gt;http://docs.splunk.com/Documentation/Splunk/5.0.3/Knowledge/Addfieldsatsearchtime&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;You will then need to pipe your search to the top command on that field.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Top"&gt;http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Top&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2013 16:09:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/searching-TOP-query/m-p/73386#M18373</guid>
      <dc:creator>MHibbin</dc:creator>
      <dc:date>2013-06-24T16:09:04Z</dc:date>
    </item>
  </channel>
</rss>

