[BUG] - Elasticvue doesn't show all templates
Closed this issue · 3 comments
Description
I have a few templates on my cluster. I can see them by calling _index_templates
API directly, but the app doesn't show them. I tried it on a new single-node cluster on my local machine, and the result was the same.
Steps To Reproduce
List the steps to reproduce your problem:
- Run Elastic Search locally using docker.
- Put an
_index_template
. For example I tried this:
curl -X PUT -H 'Content-Type: application/json' 'localhost:9200/_index_template/bugreport_test1' -d '{
"index_patterns": ["bug_test_*"],
"template": {
"settings": {
"number_of_shards": 1
},
"mappings": {
"properties": {
"date": {
"format": "yyyy-MM-dd",
"type": "date"
}
}
}
}
}'
- Open Elasticvue and go to the
Index Templates
. The template is not there.
I tried disconnecting and re-connecting, and resetting the app. But templates didn't appear.
Screenshots
Environment (please include the following information):
- Elasticsearch version: 8.14.1
- Operating system: Ubuntu 24.04
- Browser + version:
- Elasticvue version: 1.0.8-stable
- How are you running elasticvue? (docker, browser extension, web app): Linux AppImage
The API you are referring to is the legacy API. It seems like your templates are not migrated yet, see the info box at the top here: https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-get-template-v1.html
This is also a duplicate of #170
Hi @cars10,
Thanks for looking into this!
I'm using the new API. The legacy API is /_template/
, but as you see in the curl
command and the screenshot, I'm using the new _index_template
API.