not

not #

KindAccepts
Logical operatorexactly one nested condition

Negates a single inner condition. Evaluates to true when the inner condition is false.

Parameters #

ParameterTypeDescription
(nested)conditionThe single condition to negate.

Examples #

not:
  contains:
    _ctx.request.uri: "/health"

Notes #

Inside a per-record sub-chain (e.g. for_each), field names resolve against the current record’s own attributes (file.path, log_level, …); at pipeline level they resolve against the pipeline context through the _ctx. prefix. See the Conditions reference for details.

Edit Edit this page