<?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: Thruput search help in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Thruput-search-help/m-p/38875#M8867</link>
    <description>&lt;P&gt;You could achieve what you want by using a combination of &lt;CODE&gt;sort&lt;/CODE&gt; and &lt;CODE&gt;head&lt;/CODE&gt;:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="_internal" source="/*/metrics.log" per_index_thruput series="*" daysago=30 | eval gb=kb/1024/1024 | timechart sum(gb) as sumGB | sort - sumGB | head 1
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 04 Feb 2011 22:37:13 GMT</pubDate>
    <dc:creator>Ayn</dc:creator>
    <dc:date>2011-02-04T22:37:13Z</dc:date>
    <item>
      <title>Thruput search help</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Thruput-search-help/m-p/38874#M8866</link>
      <description>&lt;P&gt;I've got a search that will display max daily thruput over the last 30 days.&lt;/P&gt;

&lt;P&gt;index="_internal" source="/*/metrics.log" per_index_thruput series="*" daysago=30 | eval gb=kb/1024/1024 | timechart sum(gb) as sumGB | stats max(sumGB) as MaxThru &lt;/P&gt;

&lt;P&gt;The output looks like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;MaxThru
80.0 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I would like the search to include the date, but cannot figure out how to do it using | stats max() &lt;/P&gt;

&lt;P&gt;Ideally the output would look like:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Date                      MaxThru
2/4/11 12:00:00.000 AM    80
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Any suggestions would be greatly appreciated! &lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 04 Feb 2011 22:07:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Thruput-search-help/m-p/38874#M8866</guid>
      <dc:creator>carmackd</dc:creator>
      <dc:date>2011-02-04T22:07:31Z</dc:date>
    </item>
    <item>
      <title>Re: Thruput search help</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Thruput-search-help/m-p/38875#M8867</link>
      <description>&lt;P&gt;You could achieve what you want by using a combination of &lt;CODE&gt;sort&lt;/CODE&gt; and &lt;CODE&gt;head&lt;/CODE&gt;:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="_internal" source="/*/metrics.log" per_index_thruput series="*" daysago=30 | eval gb=kb/1024/1024 | timechart sum(gb) as sumGB | sort - sumGB | head 1
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 04 Feb 2011 22:37:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Thruput-search-help/m-p/38875#M8867</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2011-02-04T22:37:13Z</dc:date>
    </item>
    <item>
      <title>Re: Thruput search help</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Thruput-search-help/m-p/38876#M8868</link>
      <description>&lt;P&gt;Perfect! thanks&lt;/P&gt;</description>
      <pubDate>Sat, 05 Feb 2011 02:53:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Thruput-search-help/m-p/38876#M8868</guid>
      <dc:creator>carmackd</dc:creator>
      <dc:date>2011-02-05T02:53:13Z</dc:date>
    </item>
  </channel>
</rss>

