How to tag log files in filebeat for logstash ingestion?

So to do this, I would need to define multiple prospectors?

I was really hoping that I could define the paths, and then be able to use some sort of macro/variable within the fields variable. So something like:

paths:

  • /path/to/logs/access.log
  • /path/to/other/logs/errors.log
    fields: %{filename}

Where the field coming across the wire for each beat would be 'access.log' and 'errors.log'.