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

**URL:** <https://discuss.elastic.co/t/can-i-use-modules-and-input-at-same-time-with-different-tag/275651>\
**Category:** Beats\
**Tags:** beats-module, filebeat\
**Created:** [June 11, 2021, 6:17am UTC](https://discuss.elastic.co/t/can-i-use-modules-and-input-at-same-time-with-different-tag/275651 "2021-06-11T06:17:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![venkatesh\_prasanth](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/venkatesh_prasanth/32/89319_2.png) [@venkatesh\_prasanth](https://discuss.elastic.co/u/venkatesh_prasanth)\
**Post date:** [June 11, 2021, 6:17am UTC](https://discuss.elastic.co/t/can-i-use-modules-and-input-at-same-time-with-different-tag/275651/1 "2021-06-11T06:17:58Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 9, 2021, 8:18am UTC](https://discuss.elastic.co/t/can-i-use-modules-and-input-at-same-time-with-different-tag/275651/2 "2021-07-09T08:18:15Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
