<?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: Max values per unique field name in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Max-values-per-unique-field-name/m-p/21549#M3543</link>
    <description>&lt;P&gt;Ah, geez. Answered it myself. &lt;/P&gt;

&lt;P&gt;| dedup Site&lt;/P&gt;

&lt;P&gt;I knew it was too easy.&lt;/P&gt;</description>
    <pubDate>Wed, 01 May 2013 22:00:40 GMT</pubDate>
    <dc:creator>tnkoehn</dc:creator>
    <dc:date>2013-05-01T22:00:40Z</dc:date>
    <item>
      <title>Max values per unique field name</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Max-values-per-unique-field-name/m-p/21548#M3542</link>
      <description>&lt;P&gt;I currently have a search that gives me the top counts by time and site. For example, I might get the following results:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Date                    Site     Count
2013-05-01 14:25:00     den01    5729
2013-05-01 14:27:00     den01    5727
2013-05-01 14:12:00     oma01    5698
2013-05-01 14:00:00     den01    5663
2013-05-01 14:04:00     oma01    3961
2013-05-01 14:03:00     atl01    3870
2013-05-01 15:02:00     den01    3666
2013-05-01 14:05:00     oma01    3588
2013-05-01 14:04:00     atl01    2559
2013-05-01 14:03:00     oma01    2554
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;However, I only want the top results per site. Like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Date                    Site     Count
2013-05-01 14:25:00     den01    5729
2013-05-01 14:12:00     oma01    5698
2013-05-01 14:03:00     atl01    3870
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I'm not sure how to do this. Any help would be greatly appreciated. Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 01 May 2013 21:48:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Max-values-per-unique-field-name/m-p/21548#M3542</guid>
      <dc:creator>tnkoehn</dc:creator>
      <dc:date>2013-05-01T21:48:02Z</dc:date>
    </item>
    <item>
      <title>Re: Max values per unique field name</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Max-values-per-unique-field-name/m-p/21549#M3543</link>
      <description>&lt;P&gt;Ah, geez. Answered it myself. &lt;/P&gt;

&lt;P&gt;| dedup Site&lt;/P&gt;

&lt;P&gt;I knew it was too easy.&lt;/P&gt;</description>
      <pubDate>Wed, 01 May 2013 22:00:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Max-values-per-unique-field-name/m-p/21549#M3543</guid>
      <dc:creator>tnkoehn</dc:creator>
      <dc:date>2013-05-01T22:00:40Z</dc:date>
    </item>
    <item>
      <title>Re: Max values per unique field name</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Max-values-per-unique-field-name/m-p/21550#M3544</link>
      <description>&lt;P&gt;dedup may work but that depend on sort.&lt;BR /&gt;
...|fields Date, Site, Count | stats max(Count) as Count by Site | table Date, Site, Count&lt;/P&gt;</description>
      <pubDate>Wed, 01 May 2013 22:07:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Max-values-per-unique-field-name/m-p/21550#M3544</guid>
      <dc:creator>bmacias84</dc:creator>
      <dc:date>2013-05-01T22:07:22Z</dc:date>
    </item>
  </channel>
</rss>

