Defining filebeat prospector paths with regex?

Hi,

I'm using filebeat 1.2.1 and very happy for the new environment variable feature! Thank you.

Another thing that would be very helpful if we could define the prospector paths using regular expressions? That would make configuration management even more straight forward as I wouldn't have to define environment variables for the various paths on each system. The reason is that we have different log file names based on individual systems.

Is this worth considering, or is it possibly on the road map already?

I realize I can use regex to exclude certain files, so that's an alternative, though maybe less ideal.

Thanks,
Robert.

I think the path can be a glob pattern. Not as flexible as full regexes, but most often should do the trick.