Simulate index API slow

Hi,

I experience performance issues when calling the simulate index API on 7.17 (via the Java method SimulateIndexTemplateRequest() or /_index_template/_simulate_index/).
Our ES installation runs on a Kubernetes cluster that can handle hundreds of indexings and searches concurrently without issues but a query like:
curl -X POST "http://<HOST>/_index_template/_simulate_index/<MY_INDEX> takes up to 30 seconds to reply.
We have around 20 different index templates. Half of them have around 5 patterns but the other half has around 100 ones. Would this kind of configuration be the reason?

The patterns are all quite similar. Here is a snippet of what we define in the templates

  "coll-eo_eum_dat_0101-*",
    "coll-eo_eum_dat_0341-*",
    "coll-eo_eum_dat_0533-*",
    "coll-eo_eum_dat_0534-*",
    "coll-eo_eum_dat_0576-*",
    "coll-eo_eum_dat_0579-*",
    "coll-eo_eum_dat_0590-*",
    "coll-eo_eum*_dat_0281-*",
    "coll-eo_eum*_dat_0282-*",

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