Collected documents(logs) are getting deleted in index

Strange. Need more information to figure this out. Right now it’s just guesswork.
You pasted settings for the global index set defaults rotation_strategy and elasticsearch_max_time_per_index. How are the actual indices configured?
Are there other errors in the log?
Check your ES cluster health as described in related thread: