<?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: Can I add a time span to a where count? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Can-I-add-a-time-span-to-a-where-count/m-p/424322#M121689</link>
    <description>&lt;P&gt;For some reason it is not grouping them. I am seeing a lot of event with the same _time but the count is 1 even thought I am seeing about twelve events with the same time.&lt;/P&gt;</description>
    <pubDate>Mon, 09 Jul 2018 19:33:11 GMT</pubDate>
    <dc:creator>HealyManTech</dc:creator>
    <dc:date>2018-07-09T19:33:11Z</dc:date>
    <item>
      <title>Can I add a time span to a where count?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-I-add-a-time-span-to-a-where-count/m-p/424314#M121681</link>
      <description>&lt;P&gt;I am trying to see how many time a user fail a log on.&lt;/P&gt;

&lt;P&gt;index=WinEvent Event=4625 user=* | timechart span=15m count by user usenull=f where count &amp;gt;3&lt;/P&gt;

&lt;P&gt;I am getting event but I am getting the sum of the event within the week time span. How would I be able to to exclude the 0 results from the timechart? Or should I use the Chart command?&lt;/P&gt;

&lt;P&gt;I am trying to do it if the count if over 3 in a 15 minute time span I want to see the events if not I don't want to see it.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jul 2018 17:09:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-I-add-a-time-span-to-a-where-count/m-p/424314#M121681</guid>
      <dc:creator>HealyManTech</dc:creator>
      <dc:date>2018-07-09T17:09:16Z</dc:date>
    </item>
    <item>
      <title>Re: Can I add a time span to a where count?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-I-add-a-time-span-to-a-where-count/m-p/424315#M121682</link>
      <description>&lt;P&gt;Can you try this?&lt;BR /&gt;
&lt;PRE&gt;index=WinEvent Event=4625 user=* | bin _time span=15m | stats count by user _time| search count &amp;gt; 3&lt;/PRE&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jul 2018 17:12:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-I-add-a-time-span-to-a-where-count/m-p/424315#M121682</guid>
      <dc:creator>pradeepkumarg</dc:creator>
      <dc:date>2018-07-09T17:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: Can I add a time span to a where count?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-I-add-a-time-span-to-a-where-count/m-p/424316#M121683</link>
      <description>&lt;P&gt;Tried that. Getting about the same results. It is still getting me the sum of the counts and not just the 15 mins time span.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jul 2018 17:48:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-I-add-a-time-span-to-a-where-count/m-p/424316#M121683</guid>
      <dc:creator>HealyManTech</dc:creator>
      <dc:date>2018-07-09T17:48:47Z</dc:date>
    </item>
    <item>
      <title>Re: Can I add a time span to a where count?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-I-add-a-time-span-to-a-where-count/m-p/424317#M121684</link>
      <description>&lt;P&gt;oops, try this. Missed adding _time to the stats&lt;/P&gt;

&lt;P&gt;&lt;PRE&gt;index=WinEvent Event=4625 user=* | bin _time span=15m | stats count by user _time | search count &amp;gt; 3 &lt;/PRE&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jul 2018 18:02:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-I-add-a-time-span-to-a-where-count/m-p/424317#M121684</guid>
      <dc:creator>pradeepkumarg</dc:creator>
      <dc:date>2018-07-09T18:02:17Z</dc:date>
    </item>
    <item>
      <title>Re: Can I add a time span to a where count?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-I-add-a-time-span-to-a-where-count/m-p/424318#M121685</link>
      <description>&lt;P&gt;That worked but I am still not about to group it for the 15 mins.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jul 2018 18:40:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-I-add-a-time-span-to-a-where-count/m-p/424318#M121685</guid>
      <dc:creator>HealyManTech</dc:creator>
      <dc:date>2018-07-09T18:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: Can I add a time span to a where count?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-I-add-a-time-span-to-a-where-count/m-p/424319#M121686</link>
      <description>&lt;P&gt;Not following. Can you elaborate?&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jul 2018 19:07:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-I-add-a-time-span-to-a-where-count/m-p/424319#M121686</guid>
      <dc:creator>pradeepkumarg</dc:creator>
      <dc:date>2018-07-09T19:07:31Z</dc:date>
    </item>
    <item>
      <title>Re: Can I add a time span to a where count?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-I-add-a-time-span-to-a-where-count/m-p/424320#M121687</link>
      <description>&lt;P&gt;Sorry. What I meant was I want the time to be group for 15 minute intervals and show me that count there. Researching more of it and seems I might need to do an eval command.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jul 2018 19:16:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-I-add-a-time-span-to-a-where-count/m-p/424320#M121687</guid>
      <dc:creator>HealyManTech</dc:creator>
      <dc:date>2018-07-09T19:16:09Z</dc:date>
    </item>
    <item>
      <title>Re: Can I add a time span to a where count?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-I-add-a-time-span-to-a-where-count/m-p/424321#M121688</link>
      <description>&lt;P&gt;| bin _time span=15m does the same thing. It groups into 15 min buckets.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jul 2018 19:19:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-I-add-a-time-span-to-a-where-count/m-p/424321#M121688</guid>
      <dc:creator>pradeepkumarg</dc:creator>
      <dc:date>2018-07-09T19:19:02Z</dc:date>
    </item>
    <item>
      <title>Re: Can I add a time span to a where count?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-I-add-a-time-span-to-a-where-count/m-p/424322#M121689</link>
      <description>&lt;P&gt;For some reason it is not grouping them. I am seeing a lot of event with the same _time but the count is 1 even thought I am seeing about twelve events with the same time.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jul 2018 19:33:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-I-add-a-time-span-to-a-where-count/m-p/424322#M121689</guid>
      <dc:creator>HealyManTech</dc:creator>
      <dc:date>2018-07-09T19:33:11Z</dc:date>
    </item>
    <item>
      <title>Re: Can I add a time span to a where count?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-I-add-a-time-span-to-a-where-count/m-p/424323#M121690</link>
      <description>&lt;P&gt;use sum(count) instead of just count ?&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jul 2018 19:35:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-I-add-a-time-span-to-a-where-count/m-p/424323#M121690</guid>
      <dc:creator>pradeepkumarg</dc:creator>
      <dc:date>2018-07-09T19:35:53Z</dc:date>
    </item>
    <item>
      <title>Re: Can I add a time span to a where count?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-I-add-a-time-span-to-a-where-count/m-p/424324#M121691</link>
      <description>&lt;P&gt;That didn't work. Comes with just a blank &lt;/P&gt;</description>
      <pubDate>Mon, 09 Jul 2018 20:07:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-I-add-a-time-span-to-a-where-count/m-p/424324#M121691</guid>
      <dc:creator>HealyManTech</dc:creator>
      <dc:date>2018-07-09T20:07:34Z</dc:date>
    </item>
    <item>
      <title>Re: Can I add a time span to a where count?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-I-add-a-time-span-to-a-where-count/m-p/424325#M121692</link>
      <description>&lt;P&gt;Ok I got it right. I had it switched. bin command.&lt;/P&gt;

&lt;P&gt;Thanks that got it to work now &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jul 2018 20:25:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-I-add-a-time-span-to-a-where-count/m-p/424325#M121692</guid>
      <dc:creator>HealyManTech</dc:creator>
      <dc:date>2018-07-09T20:25:59Z</dc:date>
    </item>
    <item>
      <title>Re: Can I add a time span to a where count?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-I-add-a-time-span-to-a-where-count/m-p/424326#M121693</link>
      <description>&lt;P&gt;index=WinEvent Event=4625 user=* | bin _time span=15m | stats count by user | search count &amp;gt; 3&lt;/P&gt;

&lt;P&gt;thanks to gpradeepkumarredd&lt;/P&gt;

&lt;P&gt;Make sure to you bin before stats command. I made the mistake of putting it after.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jul 2018 20:27:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-I-add-a-time-span-to-a-where-count/m-p/424326#M121693</guid>
      <dc:creator>HealyManTech</dc:creator>
      <dc:date>2018-07-09T20:27:11Z</dc:date>
    </item>
    <item>
      <title>Re: Can I add a time span to a where count?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-I-add-a-time-span-to-a-where-count/m-p/424327#M121694</link>
      <description>&lt;P&gt;I converted mine to answer so that you can accept it. Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jul 2018 20:34:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-I-add-a-time-span-to-a-where-count/m-p/424327#M121694</guid>
      <dc:creator>pradeepkumarg</dc:creator>
      <dc:date>2018-07-09T20:34:11Z</dc:date>
    </item>
  </channel>
</rss>

