# broker python receive event

**URL:** <https://community.zeek.org/t/broker-python-receive-event/5519>\
**Category:** Zeek\
**Created:** [November 7, 2018, 9:24pm UTC](https://community.zeek.org/t/broker-python-receive-event/5519 "2018-11-07T21:24:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Neslog](https://avatars.discourse-cdn.com/v4/letter/n/7cd45c/32.png) [@Neslog](https://community.zeek.org/u/Neslog)\
**Post date:** [November 7, 2018, 9:24pm UTC](https://community.zeek.org/t/broker-python-receive-event/5519/1 "2018-11-07T21:24:23Z")

</div>

Does anyone have an example of Bro sending events to a python script using python bindings? I’d like to generate an event in Bro and have the python script listen and kick off a script.

---

<div class="post-metadata">

**Author:** ![Matthias\_Vallentin1](https://yyz1.discourse-cdn.com/flex011/user_avatar/community.zeek.org/matthias_vallentin1/32/596_2.png) [@Matthias\_Vallentin1](https://community.zeek.org/u/Matthias_Vallentin1)\
**Post date:** [November 8, 2018, 12:47am UTC](https://community.zeek.org/t/broker-python-receive-event/5519/2 "2018-11-08T00:47:01Z")

</div>

You can have a look at our BroCon 2018 material, which contain Broker  
examples for C++, Python, and Bro:  
[https://github.com/tenzir/events/tree/master/brocon18](https://github.com/tenzir/events/tree/master/brocon18).

&nbsp;&nbsp;&nbsp;&nbsp;Matthias

---

<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/broker-python-receive-event/5519/3 "2022-05-06T15:46:10Z")

</div>


