# Reading files dynamically and using computer hardware

**URL:** <https://community.zeek.org/t/reading-files-dynamically-and-using-computer-hardware/5344>\
**Category:** Zeek\
**Created:** [June 8, 2018, 8:28am UTC](https://community.zeek.org/t/reading-files-dynamically-and-using-computer-hardware/5344 "2018-06-08T08:28:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![john\_Y1](https://avatars.discourse-cdn.com/v4/letter/j/b5e925/32.png) [@john\_Y1](https://community.zeek.org/u/john_Y1)\
**Post date:** [June 8, 2018, 8:28am UTC](https://community.zeek.org/t/reading-files-dynamically-and-using-computer-hardware/5344/1 "2018-06-08T08:28:57Z")

</div>

Hi all! would like to have some advices.

1. Is there a way for reading pcap files dynamically?  
meaning, I am receiving many files, with a different names, to a local directory and would like Bro to parse them. This flow of files is continues.

2. I am trying to make Bro the most efficient, so i would like to use most cumputer’s cores for Bro parsing.  
Is there a way to do it?

\*\* In both questions i have considered making a script which would work around the issues, but i would preffer a solution that is implemented in Bro.

Love for your help,  
JohnY

---

<div class="post-metadata">

**Author:** ![Azoff\_Justin\_S](https://avatars.discourse-cdn.com/v4/letter/a/dec6dc/32.png) [@Azoff\_Justin\_S](https://community.zeek.org/u/Azoff_Justin_S)\
**Post date:** [June 8, 2018, 1:46pm UTC](https://community.zeek.org/t/reading-files-dynamically-and-using-computer-hardware/5344/2 "2018-06-08T13:46:01Z")

</div>

I describe what you would want to do here:

[http://mailman.icsi.berkeley.edu/pipermail/bro/2017-July/012355.html](http://mailman.icsi.berkeley.edu/pipermail/bro/2017-July/012355.html)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/zeek/original/1X/f09d732bc2cc7c7cc7e35db67cf4e1d5233ce7a7.png) [@system](https://community.zeek.org/u/system)\
**Post date:** [May 6, 2022, 3:45pm UTC](https://community.zeek.org/t/reading-files-dynamically-and-using-computer-hardware/5344/3 "2022-05-06T15:45:51Z")

</div>


