Query Language
The query language changes in a few significant ways. Here are some of the most notable changes:-
No more
attributes.prefix — Custom attributes can now be queried directly. Instead ofattributes.user_id_int=12345, simply useuser_id=12345. -
No more type suffixes — You no longer need to append
_int,_string, or_doubleto attribute names. The query engine automatically determines the correct type based on the operator you use. -
Nested JSON support — Query nested objects using dot notation:
user.email="user@example.com"and array elements by index:user.roles.0=admin. -
OR logic and parentheses — Build complex queries with explicit
ORoperators and parentheses for grouping:severity=error AND (hostname=web-1 OR hostname=web-2). -
List syntax replaced — The
field=[value1, value2]syntax is replaced with OR statements, which is more flexible and supports all operators, not just exact matches.