Exclude files from wildcard path


Is it possible to exclude files which would otherwise be included in a filebeat path?

i.e. I want to include all files in a directory (/var/log/apps/*), but exclude those that have been rotated and zipped (*.gz)

Previously, I was using logstash as an 'agent' to send logs to the server, and it was simple to do this with the 'file' input plugin, but I can't see how to do this with filebeat



I cannot think of a good way to do that currently. Can you open an issue in github so we track this as an enhancement request, please?

OK, thanks. Done: