- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
Enhanced Security Measures in Place: To ensure a safer experience, we’ve implemented additional, temporary security measures for all users.
05-12-2023 04:22 AM
Hi,
I want to query a specific number of events between 2 dates.
I have this query below, but it is missing the "between current_date and last 5 minutes"
dataset = fortinet_fortiauthenticator_vm_raw | filter deviceSeverity != "information" | filter deviceSeverity != "notice" | filter deviceSeverity = "warning"
| comp count(msg) as counter
| filter counter > 5
Could you help pls
Regards,
05-12-2023 07:00 AM
FabioFerreira,
You can use the config stage command to specify a timeframe like so...
config timeframe = 5m
| dataset = fortinet_fortiauthenticator_vm_raw | filter deviceSeverity != "information" | filter deviceSeverity != "notice" | filter deviceSeverity = "warning"
| comp count(msg) as counter
| filter counter > 5
05-12-2023 07:00 AM
FabioFerreira,
You can use the config stage command to specify a timeframe like so...
config timeframe = 5m
| dataset = fortinet_fortiauthenticator_vm_raw | filter deviceSeverity != "information" | filter deviceSeverity != "notice" | filter deviceSeverity = "warning"
| comp count(msg) as counter
| filter counter > 5
02-16-2024 02:40 AM
Hi everyone,
I need your help. I wanna create new rule about FW action. Actually my new rules purpose is If there are a lot of FW action drop and next FW allow in 5 minutes. But I dont know how can i create this. In the below just L2L drop logs .
|dataset = panw_ngfw_traffic_raw
|filter source_ip incidr "172.16.0.0/12" or source_ip incidr "192.168.0.0/16" or source_ip incidr "10.0.0.0/8"
|filter dest_ip incidr "172.16.0.0/12" or dest_ip incidr "192.168.0.0/16" or dest_ip incidr "10.0.0.0/8"
|comp count(action ) as action_count by source_ip,action,dest_ip
|dedup source_ip
|filter action_count > 1000 and action ="drop"
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!