How to use filebeat to collect only the day's logs

See How to understand "registry" file in filebeat - #2 by pierhugues