Can i use modules and input at same time with different tag?

Hi, I am using filebeat. i use apache module to collect log from apache. but want to collect the log from tomcat and index it in another index.

can i use filebeat input in filebeat.yml and module in same time?

but i want to give separate tag for filebeat input as well as tag in general setting. is this possible ?

i want to use filebeat input and module with different tags in same filebeat.yml.so that using logstash i can index it separately with tags.

or is there any possible to tag each module.