<?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: Correct way to do count over time in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/Correct-way-to-do-count-over-time/m-p/671784#M15618</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/263301"&gt;@Vantine&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;don't use timechart:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=eits_wineventlog_security sourcetype=WinEventLog (EventCode=4771 OR EventCode=4776)
| bin span=60m _time
| stats count BY user _time
| where count&amp;gt;5&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
    <pubDate>Wed, 13 Dec 2023 18:15:10 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2023-12-13T18:15:10Z</dc:date>
    <item>
      <title>Correct way to do count over time</title>
      <link>https://community.splunk.com/t5/Alerting/Correct-way-to-do-count-over-time/m-p/671728#M15615</link>
      <description>&lt;P&gt;Trying to set up an alert to show any log in that has had 500 log on failures in under 30 min.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is what I currently have (with non relevant data changed)&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;index=* sourcetype=* action=failure EventCode=4771 OR EventCode=4776 | bucket _time span=30m | stats count by user | where count&amp;gt;500&lt;/LI-CODE&gt;
&lt;P&gt;I want to make sure this is correct.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2023 15:11:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Correct-way-to-do-count-over-time/m-p/671728#M15615</guid>
      <dc:creator>Vantine</dc:creator>
      <dc:date>2023-12-13T15:11:17Z</dc:date>
    </item>
    <item>
      <title>Re: Correct way to do count over time</title>
      <link>https://community.splunk.com/t5/Alerting/Correct-way-to-do-count-over-time/m-p/671729#M15616</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/263301"&gt;@Vantine&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;yes it's correct.&lt;/P&gt;&lt;P&gt;You're speaking of windows log so you could simplify (and make faster) your search in this way:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=wineventlog sourcetype=wineventlog EventCode=4771 OR EventCode=4776 
| timechart span=30m count by user 
| where count&amp;gt;500&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2023 13:44:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Correct-way-to-do-count-over-time/m-p/671729#M15616</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-12-13T13:44:29Z</dc:date>
    </item>
    <item>
      <title>Re: Correct way to do count over time</title>
      <link>https://community.splunk.com/t5/Alerting/Correct-way-to-do-count-over-time/m-p/671769#M15617</link>
      <description>&lt;P&gt;Wasnt getting results, so I went longer and smaller errors. Still not getting anything.&lt;/P&gt;&lt;P&gt;Here is how I have it&lt;/P&gt;&lt;P&gt;index=eits_wineventlog_security sourcetype=WinEventLog&amp;nbsp; EventCode=4771 OR EventCode=4776&lt;/P&gt;&lt;P&gt;| timechart span=60m count by user&lt;BR /&gt;| where count&amp;gt;5&lt;/P&gt;&lt;P&gt;I know for sure we have had enough failures to at least get a few.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2023 17:24:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Correct-way-to-do-count-over-time/m-p/671769#M15617</guid>
      <dc:creator>Vantine</dc:creator>
      <dc:date>2023-12-13T17:24:02Z</dc:date>
    </item>
    <item>
      <title>Re: Correct way to do count over time</title>
      <link>https://community.splunk.com/t5/Alerting/Correct-way-to-do-count-over-time/m-p/671784#M15618</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/263301"&gt;@Vantine&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;don't use timechart:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=eits_wineventlog_security sourcetype=WinEventLog (EventCode=4771 OR EventCode=4776)
| bin span=60m _time
| stats count BY user _time
| where count&amp;gt;5&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2023 18:15:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Correct-way-to-do-count-over-time/m-p/671784#M15618</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-12-13T18:15:10Z</dc:date>
    </item>
  </channel>
</rss>

