- field - the audit field to evaluate
- operator - the comparison to apply
- value - the value to compare against
Filters can be combined using AND / OR and may be nested.
filters (required)
Type: Filter
- Field-based comparisons
- Logical grouping using AND / OR
- Nested expressions
A filter can be either:
- A single condition, or
- A filter group combining multiple conditions using logical operators
At least one filter condition is required.
Supported filter structure
field: The audit log field to evaluate (e.g. year, what.category)operator: The comparison operatorvalue: The value or values to compare against
and: An array of two or more filter expressions that must all evaluate to trueor: An array of two or more filter expressions where any may evaluate to true
Filters may be nested to form complex logical expressions.
Operators
| Operator | Description |
|---|---|
| eq | Equal to |
| neq | Not equal to |
| lt | Less than |
| lte | Less than or equal to |
| gt | Greater than |
| gte | Greater than or equal to |
| in | Value is in a list |
| nin | Value is not in a list |
Value types
- string
- integer
- Array of string or integer (for in / nin)
Supported fields
| Field | Description | Type |
|---|---|---|
| year | Four‑digit calendar year when the audited event occurred (UTC or system-defined timezone). | Temporal |
| Month | Numeric month (1–12) indicating when the event occurred within the specified year. | Temporal |
| day | Day of the month (1–31) on which the event occurred. | Temporal |
| outcome |
The result of the audited action. Common values include:
|
|
| who.type |
The type of actor that initiated the action. Examples:
Helps distinguish between human and non-human actors. |
|
| what.category |
High‑level classification of the action being performed. Examples:
Used for reporting, filtering, and regulatory categorization. |
|
| what.description |
Human‑readable explanation of the action that occurred (e.g., "User updated role assignments"). Intended to improve audit log readability for reviewers and auditors. |
|
| what.verb |
The action verb representing what operation was performed. Examples:
|
|
| what.target.type |
The type of resource that the action was performed on. Examples:
|
|
| what.target.id | Unique identifier of the target resource affected by the action. | |
| where.endpoint |
The logical or physical endpoint through which the action was executed. Examples:
Used for tracing access patterns and diagnosing failures. |
|
| correlators.traceid |
Distributed tracing identifier that links this audit record to related operations across services or components. Enables end‑to‑end traceability in microservice and event‑driven architectures. |
|
| correlators.requestid |
Unique identifier for the specific request that triggered the action. Typically scoped to a single API call or user interaction and used for debugging and support investigations. |