<?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 Daily/Weekly/Monthly top traffic report? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Daily-Weekly-Monthly-top-traffic-report/m-p/13595#M1302</link>
    <description>&lt;P&gt;I've got weblogs going into splunk.  We have a bunch of different domain names (extracted as http_domain) in the logs.  Our traffic is variable, and I'd like to find out what the top 10 domains are for each period, ideally with the count of lines for those top 10 as well.  &lt;/P&gt;

&lt;P&gt;the trivial query:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;nginx | timechart count by http_domain&lt;/CODE&gt; &lt;/P&gt;

&lt;P&gt;provides what I want for a specified period.  I'd like to be able to run this for every day, week, whatever and get the top 10 results for that period, not for the entire run time.  &lt;/P&gt;

&lt;P&gt;Thanks!
Oren&lt;/P&gt;</description>
    <pubDate>Sun, 16 May 2010 09:15:21 GMT</pubDate>
    <dc:creator>Oren</dc:creator>
    <dc:date>2010-05-16T09:15:21Z</dc:date>
    <item>
      <title>Daily/Weekly/Monthly top traffic report?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Daily-Weekly-Monthly-top-traffic-report/m-p/13595#M1302</link>
      <description>&lt;P&gt;I've got weblogs going into splunk.  We have a bunch of different domain names (extracted as http_domain) in the logs.  Our traffic is variable, and I'd like to find out what the top 10 domains are for each period, ideally with the count of lines for those top 10 as well.  &lt;/P&gt;

&lt;P&gt;the trivial query:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;nginx | timechart count by http_domain&lt;/CODE&gt; &lt;/P&gt;

&lt;P&gt;provides what I want for a specified period.  I'd like to be able to run this for every day, week, whatever and get the top 10 results for that period, not for the entire run time.  &lt;/P&gt;

&lt;P&gt;Thanks!
Oren&lt;/P&gt;</description>
      <pubDate>Sun, 16 May 2010 09:15:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Daily-Weekly-Monthly-top-traffic-report/m-p/13595#M1302</guid>
      <dc:creator>Oren</dc:creator>
      <dc:date>2010-05-16T09:15:21Z</dc:date>
    </item>
    <item>
      <title>Re: Daily/Weekly/Monthly top traffic report?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Daily-Weekly-Monthly-top-traffic-report/m-p/13596#M1303</link>
      <description>&lt;P&gt;How about:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; nginx | bucket _time span=1d | top 10 http_domain by _time
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 16 May 2010 13:56:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Daily-Weekly-Monthly-top-traffic-report/m-p/13596#M1303</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2010-05-16T13:56:44Z</dc:date>
    </item>
  </channel>
</rss>

