Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
2.11
Describe the issue:
I want to search/filter log entries froma an Index with regexp or wildcard.s
But I didn’t get i run…
I’ll try this in the devtools:
GET _search
{
“query”: {
“regexp”: {
“Message”: “ZPA”
}
}
}
and get back this (and it doesn’t matt how I use the regex-pattern, it doesn’t work):
{
“took”: 3,
“timed_out”: false,
“_shards”: {
“total”: 15,
“successful”: 15,
“skipped”: 0,
“failed”: 0
},
“hits”: {
“total”: {
“value”: 0,
“relation”: “eq”
},
“max_score”: null,
“hits”:
}
}
The only pattern, which works is “.*”, then I’ll get back this:
{
“took”: 15,
“timed_out”: false,
“_shards”: {
“total”: 15,
“successful”: 15,
“skipped”: 0,
“failed”: 0
},
“hits”: {
“total”: {
“value”: 10000,
“relation”: “gte”
},
“max_score”: 1,
“hits”: [
{
“_index”:…
I’ve already set
search.allow_expensive_queries": true
And I also don’t ge it run with PPL parse or eval …
Thanks a lot for any hints …