<?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 Group field value and count rather than overall count in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Group-field-value-and-count-rather-than-overall-count/m-p/228623#M67627</link>
    <description>&lt;P&gt;eventtype="product-view"|stats count list(productname) as Products by username firmname&lt;/P&gt;

&lt;P&gt;The above is the search string that I'm using and I receive the following results:&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/957iA347CFD0A24775BE/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Instead of listing an overall count of products, I would like to have a count for each individual product. Not sure how to edit the current string or add a nested stats string to accomplish the said task.&lt;/P&gt;</description>
    <pubDate>Mon, 11 Jan 2016 14:54:00 GMT</pubDate>
    <dc:creator>emamedov</dc:creator>
    <dc:date>2016-01-11T14:54:00Z</dc:date>
    <item>
      <title>Group field value and count rather than overall count</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Group-field-value-and-count-rather-than-overall-count/m-p/228623#M67627</link>
      <description>&lt;P&gt;eventtype="product-view"|stats count list(productname) as Products by username firmname&lt;/P&gt;

&lt;P&gt;The above is the search string that I'm using and I receive the following results:&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/957iA347CFD0A24775BE/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Instead of listing an overall count of products, I would like to have a count for each individual product. Not sure how to edit the current string or add a nested stats string to accomplish the said task.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jan 2016 14:54:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Group-field-value-and-count-rather-than-overall-count/m-p/228623#M67627</guid>
      <dc:creator>emamedov</dc:creator>
      <dc:date>2016-01-11T14:54:00Z</dc:date>
    </item>
    <item>
      <title>Re: Group field value and count rather than overall count</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Group-field-value-and-count-rather-than-overall-count/m-p/228624#M67628</link>
      <description>&lt;P&gt;Try this..&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;eventtype="product-view"|stats count by productname
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 11 Jan 2016 15:14:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Group-field-value-and-count-rather-than-overall-count/m-p/228624#M67628</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-01-11T15:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: Group field value and count rather than overall count</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Group-field-value-and-count-rather-than-overall-count/m-p/228625#M67629</link>
      <description>&lt;P&gt;That doesn't specifically display the username and firmname though. Please see below:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://imgur.com/UiTNvK5"&gt;http://imgur.com/UiTNvK5&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jan 2016 15:27:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Group-field-value-and-count-rather-than-overall-count/m-p/228625#M67629</guid>
      <dc:creator>emamedov</dc:creator>
      <dc:date>2016-01-11T15:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: Group field value and count rather than overall count</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Group-field-value-and-count-rather-than-overall-count/m-p/228626#M67630</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;eventtype="product-view"|stats count by username firmname,productname | stats list(*) as * by username firmname
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 11 Jan 2016 16:14:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Group-field-value-and-count-rather-than-overall-count/m-p/228626#M67630</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-01-11T16:14:18Z</dc:date>
    </item>
    <item>
      <title>Re: Group field value and count rather than overall count</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Group-field-value-and-count-rather-than-overall-count/m-p/228627#M67631</link>
      <description>&lt;P&gt;That did the trick! Thank you very much!&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jan 2016 16:42:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Group-field-value-and-count-rather-than-overall-count/m-p/228627#M67631</guid>
      <dc:creator>emamedov</dc:creator>
      <dc:date>2016-01-11T16:42:53Z</dc:date>
    </item>
  </channel>
</rss>

