Description |
This article describes how to perform 'AND' operations on Log Forwarding Filters. |
Scope | FortiAnalyzer. |
Solution |
FortiAnalyzer does not allow users to perform the 'AND' and 'OR' operations on the same Log Forwarding Filter, so only one operator can be chosen at a time.
Set the 'log-filter-logic' with the 'AND' operator in the CLI to make FortiAnalyzer send relevant logs to the Log Forwarding Filter.
# config system log-forward edit <id> set mode {aggregation | disable | forwarding} next end
When the 'AND' operator is chosen, logs will only match this filter if all of the conditions are met. When the 'OR' operator is chosen, logs will only match this filter if one of the conditions is met.
For example:
# config system log-forward edit 1 set mode forwarding edit 1 set oper != next set oper != next set field srcip next set field srcip next end next end
In this case, since the 'AND' operator was chosen, this filter will match logs that meet all of the conditions. |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.