<?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: Search Help in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Search-Help/m-p/154840#M43541</link>
    <description>&lt;P&gt;Try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=dspro sourcetype=bootlogmaster force=* | stats count by Agency AgencyName Cause 
| stats list(Cause) as Cause list(count) as count sum(count) as Total by Agency AgencyName
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 23 Jul 2014 17:30:55 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2014-07-23T17:30:55Z</dc:date>
    <item>
      <title>Search Help</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-Help/m-p/154839#M43540</link>
      <description>&lt;P&gt;I am stuck on creating a search. I need to sort my results by Agency and I need to list a count of all events as well as a count of all events broken down by the values in the Cause field. The search below accomplishes everything except showing the count of the Cause values. &lt;/P&gt;

&lt;P&gt;index=dspro sourcetype=bootlogmaster force=*| stats values(Cause) count by Agency AgencyName&lt;/P&gt;

&lt;P&gt;Any help would be greatly appreciated.&lt;/P&gt;

&lt;P&gt;Thank you,&lt;BR /&gt;
Don&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jul 2014 17:22:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-Help/m-p/154839#M43540</guid>
      <dc:creator>DonDandrea</dc:creator>
      <dc:date>2014-07-23T17:22:51Z</dc:date>
    </item>
    <item>
      <title>Re: Search Help</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-Help/m-p/154840#M43541</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=dspro sourcetype=bootlogmaster force=* | stats count by Agency AgencyName Cause 
| stats list(Cause) as Cause list(count) as count sum(count) as Total by Agency AgencyName
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 23 Jul 2014 17:30:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-Help/m-p/154840#M43541</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-07-23T17:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: Search Help</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-Help/m-p/154841#M43542</link>
      <description>&lt;P&gt;That worked perfectly. Thank you very much.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jul 2014 18:48:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-Help/m-p/154841#M43542</guid>
      <dc:creator>DonDandrea</dc:creator>
      <dc:date>2014-07-23T18:48:50Z</dc:date>
    </item>
  </channel>
</rss>

