From Kibana UI :
- Go to discover app and add anew filter
- Click on "Edit as Query DSL"

- Past the custom DSL query
{
"script": {
"script": {
"source": "doc['zeek.dns.query'].value.length() > 75",
"lang": "painless"
}
}
}
- Click on save

