Configuring filebeat logstash plugin to transform one log, but not another

I may be misunderstanding you but is this what you're looking to do: