curl -X PUT -H 'Content-Type: application/json' -d '{ "index": { "refresh_interval": "30s" } }' http://$(hostname -f):9200/_settings
Whether or not to fsync and commit the translog after every index, delete, update, or bulk request. Increased risk of data loss if elasticsearch crashes
curl -X PUT -H 'Content-Type: application/json' -d '{ "index": { "translog.durability": "async" } }' http://$(hostname -f):9200/_settings