# Reg: BRO Language

**URL:** <https://community.zeek.org/t/reg-bro-language/2203>\
**Category:** Zeek\
**Created:** [January 30, 2012, 7:00am UTC](https://community.zeek.org/t/reg-bro-language/2203 "2012-01-30T07:00:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rishi\_Sahay](https://avatars.discourse-cdn.com/v4/letter/r/48db29/32.png) [@Rishi\_Sahay](https://community.zeek.org/u/Rishi_Sahay)\
**Post date:** [January 30, 2012, 7:00am UTC](https://community.zeek.org/t/reg-bro-language/2203/1 "2012-01-30T07:00:12Z")

</div>

Hello,

I want to learn BRO language to write my own policy scripts. Please, provide me some links and documentation through which I can learn the BRO language. Please, help me in this regard. Thanks in advance.

---

<div class="post-metadata">

**Author:** ![Seth\_Hall3](https://avatars.discourse-cdn.com/v4/letter/s/d6d6ee/32.png) [@Seth\_Hall3](https://community.zeek.org/u/Seth_Hall3)\
**Post date:** [January 30, 2012, 3:42pm UTC](https://community.zeek.org/t/reg-bro-language/2203/2 "2012-01-30T15:42:30Z")

</div>

We are planning to begin revising our language documentation soon. If you want to take a look at the old, incomplete language reference, it's available here:  
&nbsp;&nbsp;[http://www-old.bro-ids.org/wiki/index.php/Reference\_Manual](http://www-old.bro-ids.org/wiki/index.php/Reference_Manual)

Keep in mind while reading it that it was written before the new style of scripts in Bro 2.0 was created so there is a huge amount of information that is either misleading or wrong. Generally though, the actual language itself hasn't changed greatly and as always the absolute best reference is the scripts and tests themselves.

&nbsp;&nbsp;.Seth

---

<div class="post-metadata">

**Author:** ![sridhar\_basam1](https://avatars.discourse-cdn.com/v4/letter/s/54ee81/32.png) [@sridhar\_basam1](https://community.zeek.org/u/sridhar_basam1)\
**Post date:** [January 30, 2012, 3:43pm UTC](https://community.zeek.org/t/reg-bro-language/2203/3 "2012-01-30T15:43:35Z")

</div>

> Hello,
> 
> I want to learn BRO language to write my own policy scripts. Please,  
> provide me some links and documentation through which I can learn the BRO  
> language. Please, help me in this regard. Thanks in advance.

[http://www.bro-ids.org/documentation/index.html](http://www.bro-ids.org/documentation/index.html)  
[http://blog.bro-ids.org/2011/11/bro-language-cheat-sheet.html](http://blog.bro-ids.org/2011/11/bro-language-cheat-sheet.html)

The old reference manual is still around at  
[http://www-old.bro-ids.org/wiki/index.php/Reference\_Manual](http://www-old.bro-ids.org/wiki/index.php/Reference_Manual)  
Keep in mind that that the above link is obsolete but it helps if you  
are just want to get familiar with the scripting language.

> From my experience, I learnt a lot from just reading and understanding

the existing scripts repository. $BROHOME/share/bro/ on your local  
machine.

&nbsp;&nbsp;&nbsp;&nbsp;Sridhar

---

<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:40pm UTC](https://community.zeek.org/t/reg-bro-language/2203/4 "2022-05-06T15:40:09Z")

</div>

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


