To reindex the whole data once in a day

I want to delete the index and index it again with same name once in a day using logstash.
I want the same index name because an application will be using the same index name to fetch the data.
Is there any we can do that. ?

Thanks,
Sandeep

This is often solved by introducing alias as described here.