Hi,
Thnx.
Yes, going back to terms_agg fixed the problem.
The value I am trying to filter is not relevant. Pre 7.14. if you haven't typed a single character but instead clicked om the dropdown it already expands with a number of suggestions, which are changed upon further typing. the default time range I tested with was 15 minutes.
I do however recognize that there are situations we DID get some suggestions. Unfortunately I did not see way yet to reproduce that.
I am testing a bit further, and what even if I start typing a value which 100% sure is inside the timerange, it still is not suggested.
Did some testing,
When I use the index directly, I get results.
POST .ds-agl-api-ds-2021.09.09-001422/_terms_enum
{
"field": "ms-result",
"string": "",
"index_filter": {
"bool": {
"must": [
{
"range": {
"@timestamp": {
"gte": "2021-09-09T20:40:00.000Z",
"lte": "2021-09-10T20:55:59.999Z",
"format": "strict_date_optional_time"
}
}
},
{
"terms": {
"_tier": [
"data_hot",
"data_warm",
"data_content",
"data_cold"
]
}
}
]
}
}
}
gives:
{
"_shards" : {
"total" : 8,
"successful" : 8,
"failed" : 0
},
"terms" : [
"0",
"1",
"10",
"100",
"101",
"1010",
"102",
"1020",
"1024",
"103"
],
"complete" : true
}
When I replace the indexname with the datastream name I still get results in devtools
{
"_shards" : {
"total" : 712,
"successful" : 712,
"failed" : 0
},
"terms" : [
"0",
"1",
"10",
"100",
"1002",
"101",
"1010",
"1014",
"1015",
"1016"
],
"complete" : true
}