Hello everyone.
It is possible to check if some field contains word inside input string? using instruction contains()
I have this:
{
"script": {
"script": {
"source": "if(doc['exec.stdout.keyword'].toString().contains('cookie'))return true;",
"lang": "painless"
}
}
but this script always return false, I can't use regex, there is no possibility to enable it.