# How many processes are used to transfer the files from file beat to log stash?

**URL:** <https://discuss.elastic.co/t/how-many-processes-are-used-to-transfer-the-files-from-file-beat-to-log-stash/50187>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [May 17, 2016, 6:51am UTC](https://discuss.elastic.co/t/how-many-processes-are-used-to-transfer-the-files-from-file-beat-to-log-stash/50187 "2016-05-17T06:51:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![karuneshupadhyay](https://avatars.discourse-cdn.com/v4/letter/k/34f0e0/32.png) [@karuneshupadhyay](https://discuss.elastic.co/u/karuneshupadhyay)\
**Post date:** [May 17, 2016, 6:51am UTC](https://discuss.elastic.co/t/how-many-processes-are-used-to-transfer-the-files-from-file-beat-to-log-stash/50187/1 "2016-05-17T06:51:20Z")

</div>

Hi,

How many processes are used to transfer the files from file beat to log stash ?  
Is it only 1 process or we have multiple processes?  
How can I check the details information on this ?

Thanks and Regards,  
Karunesh Upadhyay

---

<div class="post-metadata">

**Author:** ![steffens](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/steffens/32/79630_2.png) [@steffens](https://discuss.elastic.co/u/steffens)\
**Post date:** [May 17, 2016, 11:38am UTC](https://discuss.elastic.co/t/how-many-processes-are-used-to-transfer-the-files-from-file-beat-to-log-stash/50187/2 "2016-05-17T11:38:47Z")

</div>

processes or threads or workers? filebeat won't start any background processes, so it's just one process. The go runtime will try to create as many worker threads as CPU cores are available, actualy number of threats might be a little higher due to some threats might be blocked by OS. The go-runtimes uses N-M multiplexing, scheduling multiple green-threads on OS threads. filebeat uses a number of workers (green-threads) to have file reading + spooling + event processing + publishing all work concurrently.

---

<div class="post-metadata">

**Author:** ![karuneshupadhyay](https://avatars.discourse-cdn.com/v4/letter/k/34f0e0/32.png) [@karuneshupadhyay](https://discuss.elastic.co/u/karuneshupadhyay)\
**Post date:** [May 18, 2016, 5:58am UTC](https://discuss.elastic.co/t/how-many-processes-are-used-to-transfer-the-files-from-file-beat-to-log-stash/50187/3 "2016-05-18T05:58:34Z")

</div>

Hi Steffens,

Thanks for your reply.  
It helps me to understand.

Best Regards,  
Karunesh

---

<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 5, 2017, 9:51pm UTC](https://discuss.elastic.co/t/how-many-processes-are-used-to-transfer-the-files-from-file-beat-to-log-stash/50187/4 "2017-07-05T21:51:48Z")

</div>


