How to tag log files in filebeat for logstash ingestion?

If you want to apply conditional filtering based on the filename then use the source field.