# Logs Conversion

**URL:** <https://community.zeek.org/t/logs-conversion/5788>\
**Category:** Zeek\
**Created:** [August 5, 2019, 9:29am UTC](https://community.zeek.org/t/logs-conversion/5788 "2019-08-05T09:29:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shahzaib\_Shah](https://avatars.discourse-cdn.com/v4/letter/s/f475e1/32.png) [@Shahzaib\_Shah](https://community.zeek.org/u/Shahzaib_Shah)\
**Post date:** [August 5, 2019, 9:29am UTC](https://community.zeek.org/t/logs-conversion/5788/1 "2019-08-05T09:29:35Z")

</div>

Hi there.  
I have been collecting log file using bro and all the log file that I received is in .log file and I logs in .json formate. Is there any way to convert that log files into .json formate?? any idea??

I am trying to convert this using " sudo bro -i wlp1s0 -e ‘redef LogAscii::use\_json=T;’ "

But getting no result.?

thanks regards

Syed Shahzaib

---

<div class="post-metadata">

**Author:** ![ericooi](https://avatars.discourse-cdn.com/v4/letter/e/ecae2f/32.png) [@ericooi](https://community.zeek.org/u/ericooi)\
**Post date:** [August 5, 2019, 3:34pm UTC](https://community.zeek.org/t/logs-conversion/5788/2 "2019-08-05T15:34:47Z")

</div>

You can edit /opt/bro/share/bro/site/local.bro (assuming you’ve installed it to /opt/bro) and add "@load policy/tuning/json-logs.bro” (without quotes) and then redeploy Bro.

---

<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:46pm UTC](https://community.zeek.org/t/logs-conversion/5788/3 "2022-05-06T15:46:40Z")

</div>

Closed on May 6, 2022, 3:46pm UTC


