Curl -i -XHEAD never finish


I've successfully updated elastic from version 2.3.5 to latest 5.4.1 version on my CentOS 6.9 Linux. In the past, I used the following command to check if indices exist with success.

/usr/bin/curl -i -XHEAD localhost:9200/_template/network

Now the same command never finish to run. If I change -XHEAD for -XGET, the command complete ! Look to me that there is something with the -XHEAD command.


That doesn't check indices though, that checks templates.

What's the reason for the check?

Be able to automate the creation of dashboard. I check for the template with the command and if template existe, do nothing, otherwise I run other curl commands that create the template.

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