- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How to edit my search to alert me on heavy frequency change on Netflow?
nickbijmoer
Path Finder
12-14-2016
07:09 AM
Hello guys,
I want to generate an alert when my netflow count is something like 10% above the usual average count.
I got something like this but i don't know how to go further 😞
sourcetype="cisco:asa" earliest=-7d@d latest=@d | stats count by date_mday | eventstats avg(count)
can someone help me?
Greetings,
Nick
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

somesoni2
Revered Legend
12-14-2016
09:20 AM
Give this a try (assuming you want to compare today's count with last 7 day's average count. If not adjust the relative_time value in eval period ).
sourcetype="cisco:asa" earliest=-7d@d latest=now | timechart span=1d count | eval period=if(_time>=relative_time(now(),"@d"),"today","last7days") | eval temp=1
| stats avg(count) as avgcount over temp by period | fields - temp
| where today>1.1*last7days
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
nickbijmoer
Path Finder
12-15-2016
02:44 AM
I get the error: Error in 'stats' command: The argument 'over' is invalid.
