No @Thirupathi, Filebeat watches and processes files. It's not intended for heavy duty ETL processing.
If you are wanting to send to multiple outputs rather than run 2 Filebeat instances you may want to look at using Logstash instead. It has output plugins for Kafka and Elasticsearch via a file input plugin.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.