Saving Elasticsearch indices to drive spare drive so root drive willl not be full

[root@hostelasticsearch]# pwd
/var/lib/elasticsearch

followed steps in the link but still no luck logs still saving in above mentioned path