policy-tracing

Last published : Nov 01, 2026
The following operations can be performed on "policy-tracing":

start policy tracing

starts the policy tracing

Synopsis

start policy tracing -filterExpr <expression>

Arguments

filterExpr Policy tracing filter expression. For example: http.req.url.startswith("/this").
protocolType protocol type for which policy records needs to be collected
Possible values: HTTP, SSL, TCP, SSL_TCP, DNS, DNS_TCP, ANY Default value: HTTP
captureSSLHandshakePolicies Set it to yes if need to capture the SSL handshake policies
Possible values: YES, NO Default value: NO

Example

start policy tracing -filterExpr http.req.url.path.eq("/abcd") -protocolType HTTP

stop policy tracing

stop the policy tracing

Synopsis

stop policy tracing

Example

stop policy tracing

clear policy tracing

remove the collected policy tracing data from memory

Synopsis

clear policy tracing

Example

clear policy tracing

show policy tracing

Displays the collected policy tracing data.

Synopsis

show policy tracing

Arguments

transactionId Unique ID to identify the current transaction
detail Show detailed information of the captured records
Possible values: brief, all Default value: all

Output

filterExpr Policy tracing filter expression. For example: http.req.url.startswith("/this").
stateflag transactionId Unique ID to identify the current transaction
packetEngineId The packet engine identifier.
clientip The IP address of client.
destIP The IP address of destination.
srcPort Source port of the request.
destPort Destination port of the request.
transactionTime Conveys time at which request processing started.
policyTracingModule Module or feature for which policy is evaluated
url Request URL.
policyNames List of the policy names which are evaluated to true for this transaction
isResponse True if the current policy is evaluated on the request side
isUndefPolicy True if the current policy is evaluated to undef
policyTracingRecordCount Current record number
protocolType protocol type for which policy records needs to be collected
captureSSLHandshakePolicies Set it to yes if need to capture the SSL handshake policies
devno count _nextgenAPIResource

Example

show policy tracing