find /home/hadoop/elasticsearch-2.4.3/logs/ -mtime +7 -name “master.log.*” -exec rm -rf {} ;