How to set path in Filebeat.yml

All log file like xxxx20180702.log. How to choose today's log file only. Is there any config like this:xxxx{now/d}.log

Hi @xiaosong and welcome :slight_smile:

What are you trying to achieve?

Filebeat keeps a registry with the files it has already read, so in principle old files won't be read twice or anything like this.