That's really a filebeat question rather than a logstash question. As far as I know, filebeat never deletes files. If you installed logstash instead you could use a file input in read mode, and then you can configure it to delete files as it processes them.