当我像docker一样在容器上运行elasticsearch for log收集时,如何创建模板?如果我试图在elasticsearch之后创建一个模板,那么已经创建了索引。所以我需要先创建一个模板,然后elasticsearch才能工作。 在过去,我似乎已经在配置文件中配置了一个模板,现在不能这样做了。我只能以REST的方式创建模板。 这个是可能的吗?
我正在遵循以下说明:
Failed to determine the healthmaster_not_discovered_exception
It is recommended that you resolve the issues with your cluster before running elasticsearch-setup-passwords