cq

Input Stack:
Query
Expr
Output Stack:
Expr
 

Recursively AND a common query to all queries in an expression. If the first parameter is not an expression, then it will be not be modified.

Example:

name,ssCpuUser,:eq,
name,DiscoveryStatus_UP,:eq,
:mul,
nf.app,alerttest,:eq,
:cq
BeforeAfter
name,ssCpuUser,:eq,
name,DiscoveryStatus_UP,:eq,
:mul,
nf.app,alerttest,:eq
name,ssCpuUser,:eq,
name,DiscoveryStatus_UP,:eq,
:mul,
nf.app,alerttest,:eq,
:cq
BeforeAfter
42,nf.app,alerttest,:eq
42,nf.app,alerttest,:eq,
:cq