File input plugin

hello,
which is the best way to control if all my messages from a file (file input plugin) were processed by logstash?