Hi - I want to detect IP's which continually appear in the logs over a 24 hour period
They must appear at least once every hour over the 24 hours to be included in the results.
Thanks
Assuming that you have the IP address in a field called ip
, this is one of the ways to achieve this.
sourcetype=blah earliest=-1d | stats dc(date_hour) as hrs by ip | search hrs=24
Hope this helps,
Kristian
thanks - works perfect
Assuming that you have the IP address in a field called ip
, this is one of the ways to achieve this.
sourcetype=blah earliest=-1d | stats dc(date_hour) as hrs by ip | search hrs=24
Hope this helps,
Kristian
Mark it as correctly answered!
Thanks - works perfect