I'm trying to filter events in the Event API, using the eventSelector.
I'm using, according to the documentation:
I get the following reply.
{
"error": {
"code": 400,
"message": "Constraints violated.",
"constraintViolations": [
{
"path": "eventSelector",
"message": "Parse error: Unknown filter predicate found. Found near 1-based column range [1,35).",
"parameterLocation": "QUERY",
"location": null
}
]
}
}
Tried other combinations, but didn't work. For reference, what the API says:
Any idea?
Hello @AntonioSousa. Same behaviour here
{
"error": {
"code": 400,
"message": "Constraints violated.",
"constraintViolations": [
{
"path": "eventSelector",
"message": "Parse error: Unknown filter predicate found. Found near 1-based column range [45,75).",
"parameterLocation": "QUERY",
"location": null
}
]
}
}
I have a ticket open for this. I will report back when I know more.
Following this topic
Looks like only accepts "event properties", no other properties (e.g. entity properties).
This did work for me:
property.dt.event.group_label(Created)
I have word back from the dev team. The following fields are (currently) searchable: description, source, title, allow_davis_merge, is_rootcause_relevant, release_version, group_label.
They now have a backlog item to:
- Improve the docs for this
- Investigate what (if any) additional fields can be "made searchable"
I will continue to provide feedback here whenever I hear anything.