Hello,
I wish it could be possible to define an alias with multiple filters, like in:
POST /_aliases
{
"actions": [
{
"add": {
"index": "av-asset",
"alias": "av-server-recent",
"filter": [
{"term": {"Av_Target_Type": "Server"}},
{"range": {"@timestamp": {
"gte": "now/d-7d"
}}}
]
}
}
]
}
which fails for:
"root_cause": [{
"type": "x_content_parse_exception",
"reason": "[7:19] [add] filter doesn't support values of type: START_ARRAY"
}],
Any other way to accomplish this kind of result?