Issues with filtered aliases in Kibana

Hi Experts,

I have created a filtered alias and trying to create index pattern based on the alias. However i cannot see the filtered alias when i try to create index pattern in Kibana. Also if i query the ElastiSearch directly with the alias, I can see the filtered alias retrieving the documents correctly. Is it possible to use filtered aliases in Kibana at all? Below is my example. I am using ELK 7.2

"actions": [
{
"add": {
"index": "customers_2018_05_06",
"alias": "customers_prime_2018",
"filter": {
"term": {
"Cust_Type.keyword": "Prime"
}
}
}
}
]

Hi @mj2019 ,

Can you try this

curl -X POST "master_host:9100/_aliases" -H 'Content-Type: application/json' -d
'{
"actions": [
{
"add": {
"indices": [
"index_name or pattern",
],
"filter": {
"term": {
"Cust_Type.keyword": "Prime"
}
"alias": "alias_pattern"
}
}
]
}'

Hi @kumar8055

Thank for the response. I tried it but no luck. As I said, I can see the filter gets applied correctly if i query the filtered alias but Kibana cannot show the filtered alias (can show non-filtered alias) in the managment page while creating the index pattern. I am wondering if this is a defect on Kibana. Any guidance would be appreciated. Thanks

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.