Why doesn't DevTool get error "index_closed_exception" with same query syntax?

I try to prepare a search to query indices name as a-*, for some reason I closed some of a-* indices that are one month old.
I can get data by Kibana DevTool even if I query closed index. However when I use "curl" with same syntax, I got error "index_closed_exception","reason":"closed". Why?

In order to prevent this error,I changed query uri from http://Elasticsearch:Port/a-*/_search to http://ElasticsearchIP:Port/a-2021.12.26,a-2021.12.27,a-2021.12.28/_search and got data.

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