The option file_completed_action => delete doesn't check if the ingestion was successful or not before deleting the input file.
It would be good if the documentation could state this behaviour clearly, preventing data loss for the users.
Thanks a lot!