title: Delete log data from Elasticsearch that is older than 1 day automatically using crontab
body: <p>Due to a lot of log data coming into my small server I would like to delete Elasticsearch log data every day using crontab. I have done so many researches on the Internet and have found the solution using curator or Elasticsearch _ttl. But nothing works for me. Now I have no clue any more how to google or what to google. Because I have tried many things what I have found on Google but nothing works. So please help me with a clear instruction. </p>