<?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: How to display all events when using stats count by instead of just the one &amp;quot;by&amp;quot; field? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-all-events-when-using-stats-count-by-instead-of/m-p/428609#M41282</link>
    <description>&lt;P&gt;That is exactly why &lt;CODE&gt;eventstats&lt;/CODE&gt; exists.  It performs the analysis of &lt;CODE&gt;stats&lt;/CODE&gt; and sticks the answers not on a new summary but sprinkled throughout the starting events.  Just switch from &lt;CODE&gt;stats&lt;/CODE&gt; to &lt;CODE&gt;eventstats&lt;/CODE&gt;.&lt;/P&gt;</description>
    <pubDate>Sun, 08 Jul 2018 20:14:26 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2018-07-08T20:14:26Z</dc:date>
    <item>
      <title>How to display all events when using stats count by instead of just the one "by" field?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-all-events-when-using-stats-count-by-instead-of/m-p/428607#M41280</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I'm a Splunk novice and appreciate your patience.  I'm trying to figure out how to display all of the fields listed in my search, but there is only data in the table in the one field specified in the |stats count by field3.  Here is my search:&lt;/P&gt;

&lt;P&gt;index=myindex field1="TY" field2="G"&lt;BR /&gt;
|stats count by field3 where count &amp;gt;5&lt;BR /&gt;
|fields + _time host field1 field2 field3 field4 field5&lt;BR /&gt;
|table _time host field1 field2 field3 field4 field5&lt;/P&gt;

&lt;P&gt;I appreciate any help, tips, or tricks!&lt;/P&gt;</description>
      <pubDate>Sat, 07 Jul 2018 01:47:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-all-events-when-using-stats-count-by-instead-of/m-p/428607#M41280</guid>
      <dc:creator>vwilson3</dc:creator>
      <dc:date>2018-07-07T01:47:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to display all events when using stats count by instead of just the one "by" field?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-all-events-when-using-stats-count-by-instead-of/m-p/428608#M41281</link>
      <description>&lt;P&gt;The &lt;CODE&gt;stats&lt;/CODE&gt; command is a filtering command.  That means the only fields available downstream are those mentioned in &lt;CODE&gt;stats&lt;/CODE&gt;.  In your example, only 'count' and 'field3' are available.  The &lt;CODE&gt;fields&lt;/CODE&gt; command cannot put back what &lt;CODE&gt;stats&lt;/CODE&gt; takes out.&lt;BR /&gt;
For an alternative, look at the &lt;CODE&gt;streamstats&lt;/CODE&gt; command, which adds fields to events rather than remove fields.&lt;/P&gt;</description>
      <pubDate>Sat, 07 Jul 2018 22:19:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-all-events-when-using-stats-count-by-instead-of/m-p/428608#M41281</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2018-07-07T22:19:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to display all events when using stats count by instead of just the one "by" field?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-all-events-when-using-stats-count-by-instead-of/m-p/428609#M41282</link>
      <description>&lt;P&gt;That is exactly why &lt;CODE&gt;eventstats&lt;/CODE&gt; exists.  It performs the analysis of &lt;CODE&gt;stats&lt;/CODE&gt; and sticks the answers not on a new summary but sprinkled throughout the starting events.  Just switch from &lt;CODE&gt;stats&lt;/CODE&gt; to &lt;CODE&gt;eventstats&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Sun, 08 Jul 2018 20:14:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-all-events-when-using-stats-count-by-instead-of/m-p/428609#M41282</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2018-07-08T20:14:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to display all events when using stats count by instead of just the one "by" field?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-all-events-when-using-stats-count-by-instead-of/m-p/428610#M41283</link>
      <description>&lt;P&gt;Thank you so much for your help!  I am learning every day, for sure!  &lt;/P&gt;</description>
      <pubDate>Wed, 11 Jul 2018 00:55:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-all-events-when-using-stats-count-by-instead-of/m-p/428610#M41283</guid>
      <dc:creator>vwilson3</dc:creator>
      <dc:date>2018-07-11T00:55:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to display all events when using stats count by instead of just the one "by" field?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-all-events-when-using-stats-count-by-instead-of/m-p/428611#M41284</link>
      <description>&lt;P&gt;I just learned that I should upvote.  Sorry about that.  Not trying to be rude; just a newbie.  &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jul 2018 13:00:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-all-events-when-using-stats-count-by-instead-of/m-p/428611#M41284</guid>
      <dc:creator>vwilson3</dc:creator>
      <dc:date>2018-07-16T13:00:56Z</dc:date>
    </item>
  </channel>
</rss>

