curl -XPUT -H "Content-Type:application/json" http://localhost:9200/_cluster/settings -d '{"persistent":{"action.auto_create_index":"true"}}'