<?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 can I write a seach to get count of each application per day? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-write-a-seach-to-get-count-of-each-application-per-day/m-p/361751#M106860</link>
    <description>&lt;P&gt;Try this ...&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; index=index1 ...| bin span=1d _time | stats count as appcount by _time app.
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 10 Aug 2017 15:57:44 GMT</pubDate>
    <dc:creator>DalJeanis</dc:creator>
    <dc:date>2017-08-10T15:57:44Z</dc:date>
    <item>
      <title>How can I write a seach to get count of each application per day?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-write-a-seach-to-get-count-of-each-application-per-day/m-p/361750#M106859</link>
      <description>&lt;P&gt;I am looking for a search to get a count of each application per day. Below is the search I have now, which gives count for everything for that day. I need count per application per day.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=index1 ...| bin span=1d _time | stats values(app) count(app) by _time
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The result I get is below:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;08/10/17    app1, app2, app3      total count of all 3 apps.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;But what I want is this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;08/10/17         app1     count of app1
                 app2     count of app2
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 10 Aug 2017 15:39:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-write-a-seach-to-get-count-of-each-application-per-day/m-p/361750#M106859</guid>
      <dc:creator>knarayana</dc:creator>
      <dc:date>2017-08-10T15:39:50Z</dc:date>
    </item>
    <item>
      <title>Re: How can I write a seach to get count of each application per day?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-write-a-seach-to-get-count-of-each-application-per-day/m-p/361751#M106860</link>
      <description>&lt;P&gt;Try this ...&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; index=index1 ...| bin span=1d _time | stats count as appcount by _time app.
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 10 Aug 2017 15:57:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-write-a-seach-to-get-count-of-each-application-per-day/m-p/361751#M106860</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2017-08-10T15:57:44Z</dc:date>
    </item>
    <item>
      <title>Re: How can I write a seach to get count of each application per day?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-write-a-seach-to-get-count-of-each-application-per-day/m-p/361752#M106861</link>
      <description>&lt;P&gt;It is the &lt;CODE&gt;count(app)&lt;/CODE&gt; thing that gets everybody.  What we all should understand (and what is not taught anywhere) is that &lt;CODE&gt;count(app)&lt;/CODE&gt; is actually &lt;CODE&gt;count(eval(isnotnull(app)))&lt;/CODE&gt; which in the vast majority if cases simplifies down to being just &lt;CODE&gt;count&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2017 16:12:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-write-a-seach-to-get-count-of-each-application-per-day/m-p/361752#M106861</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-08-10T16:12:00Z</dc:date>
    </item>
    <item>
      <title>Re: How can I write a seach to get count of each application per day?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-write-a-seach-to-get-count-of-each-application-per-day/m-p/361753#M106862</link>
      <description>&lt;P&gt;Yeah, I  avoid &lt;CODE&gt;()&lt;/CODE&gt; with &lt;CODE&gt;count&lt;/CODE&gt; whenever I can, especially when typing aircode.  Figuring out what quotes are needed for evals in there is nontrivial at the moment.  Write many, test many, post... well, usually twice...&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2017 16:16:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-write-a-seach-to-get-count-of-each-application-per-day/m-p/361753#M106862</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2017-08-10T16:16:44Z</dc:date>
    </item>
  </channel>
</rss>

