Hello,
I want to add a filter that eliminates the records with type Disconnect and have user admin.
So only for user admin to eliminate the Disconnect events.
I've tried this, but it is not ok
{
"query": {
"bool": {
"should": [
{
"bool": {
"must_not": {
"term": {
"event.enrichment.type.en.keyword": "Disconnect"
}
}
}
},
{
"bool": {
"must": {
"term": {
"event.enrichment.actor.displayName.keyword": "admin"
}
}
}
}
]
}
}
}
Thanks!