<?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 aggregate events per host per hour? in Splunk Enterprise Security</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/How-to-aggregate-events-per-host-per-hour/m-p/304183#M2728</link>
    <description>&lt;P&gt;Are you trying to make a search you can schedule to run once every hour and alert if the total count of events in that hour for a given host exceeds a threshold? Or do you want to make a table of host many events per host were seen each hour and then only retain the rows where the count exceeded a threshold? It would help a lot to know your end goal.&lt;/P&gt;</description>
    <pubDate>Wed, 04 Apr 2018 21:00:17 GMT</pubDate>
    <dc:creator>elliotproebstel</dc:creator>
    <dc:date>2018-04-04T21:00:17Z</dc:date>
    <item>
      <title>How to aggregate events per host per hour?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/How-to-aggregate-events-per-host-per-hour/m-p/304182#M2727</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I believe this does not give me what I want but it does at the same time. After events are indexed I'm attempting to aggregate per host per hour for specific windows events.&lt;/P&gt;

&lt;P&gt;More specifically I don't see to see that a host isn't able to log 17 times within 1 hour. One alert during that period of time is what I'm looking for.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=wineventlog EventCode=521 OR EventCode=4617 |bucket _time span=1h | chart count by host
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This shows me a total of the alerts that took place within an hour but doesn't necessarily aggregate if I wanted to make an alert for it unless I'm mistaken.&lt;/P&gt;

&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Wed, 04 Apr 2018 20:26:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/How-to-aggregate-events-per-host-per-hour/m-p/304182#M2727</guid>
      <dc:creator>Hegemon76</dc:creator>
      <dc:date>2018-04-04T20:26:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to aggregate events per host per hour?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/How-to-aggregate-events-per-host-per-hour/m-p/304183#M2728</link>
      <description>&lt;P&gt;Are you trying to make a search you can schedule to run once every hour and alert if the total count of events in that hour for a given host exceeds a threshold? Or do you want to make a table of host many events per host were seen each hour and then only retain the rows where the count exceeded a threshold? It would help a lot to know your end goal.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Apr 2018 21:00:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/How-to-aggregate-events-per-host-per-hour/m-p/304183#M2728</guid>
      <dc:creator>elliotproebstel</dc:creator>
      <dc:date>2018-04-04T21:00:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to aggregate events per host per hour?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/How-to-aggregate-events-per-host-per-hour/m-p/304184#M2729</link>
      <description>&lt;P&gt;In the meantime, you could try the following searches to see if they are showing you what you want:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=wineventlog  EventCode=521 OR EventCode=4617 
| bin span=1h _time
| stats count by  _time, host
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;or&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=wineventlog  EventCode=521 OR EventCode=4617 
| bin span=1h _time
| chart count by  _time, host
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 04 Apr 2018 21:01:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/How-to-aggregate-events-per-host-per-hour/m-p/304184#M2729</guid>
      <dc:creator>elliotproebstel</dc:creator>
      <dc:date>2018-04-04T21:01:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to aggregate events per host per hour?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/How-to-aggregate-events-per-host-per-hour/m-p/304185#M2730</link>
      <description>&lt;P&gt;End goal is instead of having 17 alerts on the same host for the same event (in this case, unable to log) I just want 1 alert for all 17 events based on :insert host:.&lt;/P&gt;

&lt;P&gt;So for instance.&lt;/P&gt;

&lt;P&gt;If host x,y and z fire this alert I would want three alerts because the host is different and not because the alert simply fired again.&lt;/P&gt;

&lt;P&gt;There is no threshold more like an aggregation of the events over the course of an hour so that only 1 alert fires.&lt;/P&gt;

&lt;P&gt;Sorry for not being more specific.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Apr 2018 21:04:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/How-to-aggregate-events-per-host-per-hour/m-p/304185#M2730</guid>
      <dc:creator>Hegemon76</dc:creator>
      <dc:date>2018-04-04T21:04:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to aggregate events per host per hour?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/How-to-aggregate-events-per-host-per-hour/m-p/304186#M2731</link>
      <description>&lt;P&gt;Try something like&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=wineventlog EventCode=521 OR EventCode=4617 | timechart span=1h count by host
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;or&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=wineventlog EventCode=521 OR EventCode=4617 | timechart span=1h sum(eval(EventCode=521)) as 521 sum(eval(EventCode=4617)) as 4617 by host
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 05 Apr 2018 00:21:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/How-to-aggregate-events-per-host-per-hour/m-p/304186#M2731</guid>
      <dc:creator>davpx</dc:creator>
      <dc:date>2018-04-05T00:21:20Z</dc:date>
    </item>
  </channel>
</rss>

