setConditions
public void setConditions(QueryCondition[] Conditions)
Set Log filter conditions. Detailed filter conditions are as follows:
EdgeResponseStatusCode: Filter by status code returned to the client by the EdgeOne node.
Supported operators: equal, great, less, great_equal, less_equal
Value range: Any integer greater than or equal to 0
OriginResponseStatusCode: Filter by response status code of the origin server.
Supported operators: equal, great, less, great_equal, less_equal
Value range: Any integer greater than or equal to -1
SecurityAction: Filter by final action after the request hits the security rule.
Supported operators: equal
Options are as follows:
-: Unknown/unhit
Monitor: Log only
JSChallenge: JavaScript challenge
Deny: Interception
Allow: Allow
BlockIP: IP ban
Redirect: Redirect
ReturnCustomPage: Return to custom page
ManagedChallenge: Managed challenge
Silence: Silence
LongDelay: Response after a long wait
ShortDelay: Response after a short wait
SecurityModule: Filter according to the name of the security module that ultimately handles the request.
Supported operators: equal
Options are as follows:
-: Unknown/miss
CustomRule: Web protection - custom rules
RateLimitingCustomRule: Web protection - rate limiting rule
ManagedRule: Web Protection - Managed Rules
L7DDoS: Web Protection - CC Attack Protection
BotManagement: Bot Management - Bot Basic Management
BotClientReputation: Bot Management - Client Reputation Analysis
BotBehaviorAnalysis: Bot Management - Bot Intelligence Analysis
BotCustomRule: Bot Management - Custom Bot Rules
BotActiveDetection: Bot Management - Active Detection
- Parameters:
Conditions
- Log filter conditions. Detailed filter conditions are as follows:
- EdgeResponseStatusCode: Filter by status code returned to the client by the EdgeOne node.
Supported operators: equal, great, less, great_equal, less_equal
Value range: Any integer greater than or equal to 0
- OriginResponseStatusCode: Filter by response status code of the origin server.
Supported operators: equal, great, less, great_equal, less_equal
Value range: Any integer greater than or equal to -1
- SecurityAction: Filter by final action after the request hits the security rule.
Supported operators: equal
Options are as follows:
-: Unknown/unhit
Monitor: Log only
JSChallenge: JavaScript challenge
Deny: Interception
Allow: Allow
BlockIP: IP ban
Redirect: Redirect
ReturnCustomPage: Return to custom page
ManagedChallenge: Managed challenge
Silence: Silence
LongDelay: Response after a long wait
ShortDelay: Response after a short wait
- SecurityModule: Filter according to the name of the security module that ultimately handles the request.
Supported operators: equal
Options are as follows:
-: Unknown/miss
CustomRule: Web protection - custom rules
RateLimitingCustomRule: Web protection - rate limiting rule
ManagedRule: Web Protection - Managed Rules
L7DDoS: Web Protection - CC Attack Protection
BotManagement: Bot Management - Bot Basic Management
BotClientReputation: Bot Management - Client Reputation Analysis
BotBehaviorAnalysis: Bot Management - Bot Intelligence Analysis
BotCustomRule: Bot Management - Custom Bot Rules
BotActiveDetection: Bot Management - Active Detection