# Multiple log streams

**URL:** <https://community.zeek.org/t/multiple-log-streams/4152>\
**Category:** Zeek\
**Created:** [May 11, 2016, 5:25pm UTC](https://community.zeek.org/t/multiple-log-streams/4152 "2016-05-11T17:25:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jay\_Swan](https://avatars.discourse-cdn.com/v4/letter/j/e9a140/32.png) [@Jay\_Swan](https://community.zeek.org/u/Jay_Swan)\
**Post date:** [May 11, 2016, 5:25pm UTC](https://community.zeek.org/t/multiple-log-streams/4152/1 "2016-05-11T17:25:53Z")

</div>

I originally sent this to the wrong email address – sorry Bro team. 🙂

I used this script:

[https://gist.github.com/J-Gras/f9f86828f9e9d9c0b8f0908bc3573bb0](https://gist.github.com/J-Gras/f9f86828f9e9d9c0b8f0908bc3573bb0)

to log simultaneously as JSON and normal Bro TSV.

I’m seeing only a fraction of the total logs being written as JSON – it varies between about 25-40%.

The script looks OK to me. Any ideas what’s wrong? Is there a better way to do dual log streams?

Thanks,

Jay

---

<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:43pm UTC](https://community.zeek.org/t/multiple-log-streams/4152/2 "2022-05-06T15:43:40Z")

</div>


