FlowSphera's built-in detections look for what is suspicious on any network. Your own rules watch what matters on yours: a rule is the same filters you type in the search box and a threshold — FlowSphera checks it every 10 minutes and makes an event when it is crossed.
1. Add a rule
Open Settings → Events → Detections and press + Add a rule under Your own rules. Or set the filters on any page first and press + From the current filters.
- Name — what the event will be called, e.g. NAS sends too much to the Internet.
- What — filters as in the search box:
ip:10.20.0.10,net:Office,service:RDP,port:3389,country:RU,device:edge-fw,asn:13335,dir:up; a minus leaves out:-country:UA. Empty means all traffic. - Traffic — Internet, Internal or All traffic, as at the top of every page.
- Measure — traffic in MB, flows (records) or outside addresses (how many different ones).
- Above and Within the last — the threshold and the time it is counted over: 10 minutes to 24 hours.
- Counted — all together (one event for everything the filters match) or for each inside host (one event per host above the threshold — the way to catch the one machine among hundreds).
- Priority — info, warning or critical; the notification channels send from the priority you set for them.
2. Check it before you save
Check now counts the rule over its last minutes and says what it measures and whether it is above the threshold — for a per-host rule, the busiest hosts. A typo in a filter is shown at once. Then Save.
3. When it fires
Every 10 minutes FlowSphera counts each rule over its time; above the threshold it makes an event with the rule's name and priority — 10.20.0.51: 412 addresses in 10 min (the rule: above 300 addresses). While the rule stays above, the same event grows instead of a new one every 10 minutes. New events go to Telegram and e-mail, webhooks and SIEM like the built-in ones.
Click the event on the Events page: it shows the rule's filters, the host and when — Show the flows opens the records behind it.
Examples
| Rule | What | Measure | Above | Within | Counted |
|---|---|---|---|---|---|
| Backup goes too far | ip:10.20.0.10 dir:up | Traffic, MB | 500 | 1 hour | all together |
| Remote desktop from abroad | service:RDP -country:UA | Flows | 20 | 30 min | all together |
| A host calls too many places | (empty) | Outside addresses | 300 | 10 min | for each inside host |
| A guest network downloads a lot | net:Guests dir:down | Traffic, MB | 5000 | 1 hour | for each inside host |
The switch Your own rules in the detections table turns all of them off at once; Ignore on an event leaves that host out of every rule.
Next: read and act on security events.
Questions
How many rules can I have?
Up to 50. Each is counted from the same tables the pages read, so even a rule over 24 hours is quick.
Does a rule see the past?
It starts with the next 10-minute check. Check now shows what it would measure at this moment.
Can scripts manage the rules?
Yes: they are the custom list of /api/events/config, and POST /api/events/custom/test checks one.

