v.7.10.0¶
Improvements:¶
[LUNA-8219] Added support for advanced filtering with new operators and JSON 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 (in the query params to filter events):
json - allows filtering by JSON objects and arrays (values must be URL-encoded JSON strings)
Extended operators:
Existing operators eq, neq, in, nin now support :json type - 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 in Luna-Event service documentation.
Migration:¶
See a migration manual.