When you run Logstash as a service, it will concatenate both configuration files into one and all events will go through all filters as you are not using conditionals. Add a tag in each input so you can use this to apply the correct filters and output to each event using conditionals.
There are quite a few examples of this type of configuration in these forums, e.g. this one.