v.4.32.0

Improvements:

  1. [LUNA-8216] Added support for JSON filtering with new operators and data type for meta field in events and event field in general events.

    New operators:

    • contains - checks if all elements of the provided value are contained in the event field

    • ncontains - negation of contains operator

    • overlaps - checks if at least one element from the array overlaps with the event field

    • noverlaps - negation of overlaps operator

    New data type:

    • json - allows filtering by JSON objects and arrays (values must be URL-encoded JSON strings)

    Extended operators:

    The :json type is now supported for existing operators: eq, neq, in, nin - enabling exact match for JSON objects and arrays, and containment checks.

    Affected endpoints:

    Documentation:

    For optimal performance with JSON operators, GIN indexes are recommended. See indexing guidelines:

Migration:

See a migration manual.