Filebeat: Collecting a Single-Line File that Gets Overwritten

Our application write a single line to a file that gets updated while it runs. It's purpose is to track file openings and closings - the idea being that at the end of the run, if it's not 0, there's a problem.

I am trying to collect this file's contents with filebeat so we can see when it changes. I know it's now how filebeat is designed to run, but I've been experimenting with different setttings like resend_on_touch and close.reader.on_eof to see if I can get it do do what I want. Does anyone have any suggestons?

Thanks